de.lmu.ifi.dbs.elki.distance
Class NumberDistance<D extends NumberDistance<D>>
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.distance.AbstractDistance<D>
de.lmu.ifi.dbs.elki.distance.NumberDistance<D>
- All Implemented Interfaces:
- Distance<D>, Loggable, Externalizable, Serializable, Comparable<D>
- Direct Known Subclasses:
- BitDistance, DoubleDistance, FloatDistance, IntegerDistance
public abstract class NumberDistance<D extends NumberDistance<D>>
- extends AbstractDistance<D>
Provides a Distance for a number-valued distance.
- Author:
- Elke Achtert
- See Also:
- Serialized Form
Method Summary |
String |
description()
Returns a String as description of this Distance. |
abstract double |
getDoubleValue()
Returns the double value of this distance. |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning |
NumberDistance
public NumberDistance()
description
public String description()
- Description copied from interface:
Distance
- Returns a String as description of this Distance.
- Returns:
- a String as description of this Distance
- See Also:
Distance
getDoubleValue
public abstract double getDoubleValue()
- Returns the double value of this distance.
- Returns:
- the double value of this distance