de.lmu.ifi.dbs.elki.algorithm.clustering
Class OPTICSXi.SteepScanPosition<N extends NumberDistance<N,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.clustering.OPTICSXi.SteepScanPosition<N>
Type Parameters:
N - Distance type
Enclosing class:
OPTICSXi<N extends NumberDistance<N,?>>

private static class OPTICSXi.SteepScanPosition<N extends NumberDistance<N,?>>
extends Object

Position when scanning for steep areas


Field Summary
(package private)  List<ClusterOrderEntry<N>> co
          Cluster order
(package private)  ClusterOrderEntry<N> ecurr
          Current entry
(package private)  ClusterOrderEntry<N> esucc
          Next entry
(package private)  int index
          Current position
 
Constructor Summary
OPTICSXi.SteepScanPosition(List<ClusterOrderEntry<N>> co)
          Constructor.
 
Method Summary
 boolean hasNext()
          Test whether there is a next value.
 void next()
          Advance to the next entry
 boolean steepDown(double ixi)
          Test for a steep down area.
 boolean steepUp(double ixi)
          Test for a steep up point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

co

List<ClusterOrderEntry<N extends NumberDistance<N,?>>> co
Cluster order


index

int index
Current position


ecurr

ClusterOrderEntry<N extends NumberDistance<N,?>> ecurr
Current entry


esucc

ClusterOrderEntry<N extends NumberDistance<N,?>> esucc
Next entry

Constructor Detail

OPTICSXi.SteepScanPosition

public OPTICSXi.SteepScanPosition(List<ClusterOrderEntry<N>> co)
Constructor.

Parameters:
co - Cluster order
Method Detail

next

public void next()
Advance to the next entry


hasNext

public boolean hasNext()
Test whether there is a next value.

Returns:
end of cluster order

steepUp

public boolean steepUp(double ixi)
Test for a steep up point.

Parameters:
ixi - steepness factor (1-xi)
Returns:
truth value

steepDown

public boolean steepDown(double ixi)
Test for a steep down area.

Parameters:
ixi - Steepness factor (1-xi)
Returns:
truth value

Release 0.4.0 (2011-09-20_1324)