de.lmu.ifi.dbs.elki.evaluation.paircounting.generator
Interface PairSortedGeneratorInterface

All Known Implementing Classes:
PairGeneratorMerge, PairGeneratorNoise, PairGeneratorSingleCluster, PairSortedGenerator

public interface PairSortedGeneratorInterface

Pair generator interface. Implementation must return pairs sorted. Basically this is an Iterator interface, but it deliberately has a current() method, that is useful e.g. for merging.


Method Summary
 IntIntPair current()
          Return current pair.
 IntIntPair next()
          Return next pair, advance generator
 

Method Detail

current

IntIntPair current()
Return current pair.

Returns:
current pair, null if there are no more pairs

next

IntIntPair next()
Return next pair, advance generator

Returns:
next pair, null if there are no more pairs

Release 0.4.0 (2011-09-20_1324)