de.lmu.ifi.dbs.elki.evaluation.paircounting.generator
Class PairGeneratorNoise

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.evaluation.paircounting.generator.PairSortedGenerator
      extended by de.lmu.ifi.dbs.elki.evaluation.paircounting.generator.PairGeneratorNoise
All Implemented Interfaces:
PairSortedGeneratorInterface

public class PairGeneratorNoise
extends PairSortedGenerator

Generator for noise points. This generator will generate pairs (a,a) for all elements a in the given list.


Field Summary
private  int[] ids
          Ids to use
private  int pos
          Current position.
 
Constructor Summary
PairGeneratorNoise(Cluster<?> cluster)
          Crate new generator for a base cluster object.
 
Method Summary
protected  IntIntPair advance()
          Advance iterator and return new pair.
 
Methods inherited from class de.lmu.ifi.dbs.elki.evaluation.paircounting.generator.PairSortedGenerator
current, next, setCurrent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ids

private int[] ids
Ids to use


pos

private int pos
Current position.

Constructor Detail

PairGeneratorNoise

public PairGeneratorNoise(Cluster<?> cluster)
Crate new generator for a base cluster object.

Parameters:
cluster - object
Method Detail

advance

protected IntIntPair advance()
Advance iterator and return new pair.

Specified by:
advance in class PairSortedGenerator

Release 0.4.0 (2011-09-20_1324)