Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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.

Author:
Erich Schubert

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.2.1 (2009-07-13_1605)