org.simulator.math
Class ManhattanDistance
java.lang.Object
org.simulator.math.QualityMeasure
org.simulator.math.N_Metric
org.simulator.math.ManhattanDistance
- All Implemented Interfaces:
- Serializable
public class ManhattanDistance
- extends N_Metric
Class for computation of the Manhattan distance of two vectors.
- Since:
- 1.0
- Version:
- $Rev: 391 $
- Author:
- Roland Keller
- See Also:
- Serialized Form
Fields inherited from class org.simulator.math.N_Metric |
root |
Method Summary |
void |
setRoot(double root)
Sets the root. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManhattanDistance
public ManhattanDistance()
- Initializes a new distance object
setRoot
public void setRoot(double root)
- Description copied from class:
N_Metric
- Sets the root.
- Overrides:
setRoot
in class N_Metric