de.lmu.ifi.dbs.elki.evaluation.paircounting.generator
Class PairGeneratorNoise
java.lang.Object
de.lmu.ifi.dbs.elki.evaluation.paircounting.generator.PairSortedGenerator
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ids
private int[] ids
- Ids to use
pos
private int pos
- Current position.
PairGeneratorNoise
public PairGeneratorNoise(Cluster<?> cluster)
- Crate new generator for a base cluster object.
- Parameters:
cluster
- object
advance
protected IntIntPair advance()
- Advance iterator and return new pair.
- Specified by:
advance
in class PairSortedGenerator