de.lmu.ifi.dbs.elki.visualization.opticsplot
Class OPTICSNumberDistance<D extends NumberDistance<D,?>>
java.lang.Object
de.lmu.ifi.dbs.elki.visualization.opticsplot.OPTICSNumberDistance<D>
- All Implemented Interfaces:
- OPTICSDistanceAdapter<D>
public class OPTICSNumberDistance<D extends NumberDistance<D,?>>
- extends Object
- implements OPTICSDistanceAdapter<D>
Adapter that will map a regular number distance to its double value.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTICSNumberDistance
public OPTICSNumberDistance()
- Default constructor.
getDoubleForEntry
public double getDoubleForEntry(ClusterOrderEntry<D> coe)
- Description copied from interface:
OPTICSDistanceAdapter
- Get the double value for plotting for a cluster order entry.
- Specified by:
getDoubleForEntry
in interface OPTICSDistanceAdapter<D extends NumberDistance<D,?>>
- Parameters:
coe
- Cluster Order Entry
- Returns:
- Double value (height)