Class L1DistanceMetric

  • All Implemented Interfaces:
    IDistanceMetric<java.lang.Double,​double[],​double[]>

    public class L1DistanceMetric
    extends java.lang.Object
    implements IDistanceMetric<java.lang.Double,​double[],​double[]>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double computeDistance​(double[] start, double[] end)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • L1DistanceMetric

        public L1DistanceMetric()
    • Method Detail

      • computeDistance

        public java.lang.Double computeDistance​(double[] start,
                                                double[] end)
        Specified by:
        computeDistance in interface IDistanceMetric<java.lang.Double,​double[],​double[]>