plugins.engines
Class CellBasis.Manhattan

java.lang.Object
  extended by plugins.engines.CellBasis.Manhattan
All Implemented Interfaces:
CellBasis.DistanceCalculation
Enclosing class:
CellBasis

protected class CellBasis.Manhattan
extends java.lang.Object
implements CellBasis.DistanceCalculation


Constructor Summary
protected CellBasis.Manhattan()
           
 
Method Summary
 double compare(double x1, double y1, double z1, double x2, double y2, double z2)
           
 double distanceToNth(double[] compareArray, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellBasis.Manhattan

protected CellBasis.Manhattan()
Method Detail

compare

public double compare(double x1,
                      double y1,
                      double z1,
                      double x2,
                      double y2,
                      double z2)
Specified by:
compare in interface CellBasis.DistanceCalculation

distanceToNth

public double distanceToNth(double[] compareArray,
                            int index)
Specified by:
distanceToNth in interface CellBasis.DistanceCalculation