net.sourceforge.cilib.util
Class ManhattanDistanceMeasure

java.lang.Object
  extended by net.sourceforge.cilib.util.MinkowskiMetric
      extended by net.sourceforge.cilib.util.ManhattanDistanceMeasure
All Implemented Interfaces:
DistanceMeasure

public class ManhattanDistanceMeasure
extends MinkowskiMetric

Manhattan Distance is a special case of the Minkowski Metric with 'alpha' := 1.

Author:
Theuns Cloete

Field Summary
 
Fields inherited from class net.sourceforge.cilib.util.MinkowskiMetric
alpha
 
Constructor Summary
ManhattanDistanceMeasure()
          Create an instance of the ManhattanDistanceMeasure.
 
Method Summary
 
Methods inherited from class net.sourceforge.cilib.util.MinkowskiMetric
distance, distance, setAlpha
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManhattanDistanceMeasure

public ManhattanDistanceMeasure()
Create an instance of the ManhattanDistanceMeasure.



Copyright © 2009 CIRG. All Rights Reserved.