Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.distance
Class NumberDistance<D extends NumberDistance<D>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.distance.AbstractDistance<D>
          extended by 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

Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug
 
Constructor Summary
NumberDistance()
           
 
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.distance.AbstractDistance
equals, hashCode
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.Distance
externalizableSize, minus, plus, toString
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

NumberDistance

public NumberDistance()
Method Detail

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

Release 0.1 (2008-07-10_1838)