private static class OPTICSXi.SteepScanPosition
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) ClusterOrder |
co
Cluster order
|
private DBIDArrayIter |
cur
Variable for accessing.
|
(package private) int |
index
Current position
|
private DBIDArrayIter |
next
Variable for accessing.
|
Constructor and Description |
---|
SteepScanPosition(ClusterOrder co)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getNextReachability()
Get current reachability.
|
double |
getReachability()
Get current reachability.
|
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.
|
ClusterOrder co
int index
private DBIDArrayIter cur
private DBIDArrayIter next
public SteepScanPosition(ClusterOrder co)
co
- Cluster orderpublic void next()
public boolean hasNext()
public boolean steepUp(double ixi)
ixi
- steepness factor (1-xi)public boolean steepDown(double ixi)
ixi
- Steepness factor (1-xi)public double getReachability()
public double getNextReachability()
Copyright © 2019 ELKI Development Team. License information.