Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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.

Author:
Erich Schubert

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