public static class RectangleDistanceFunction.FarthestNeighbor extends Object implements RectangleDistanceFunction
RectangleDistanceFunction.FarthestNeighbor, RectangleDistanceFunction.RectangleDistCENTER, EDGE| Constructor and Description |
|---|
FarthestNeighbor(RectangleDistanceFunction dist) |
| Modifier and Type | Method and Description |
|---|---|
double |
dist(double[] center,
double[] min,
double[] max) |
double |
dist(double[] center,
RectangleEntry<?> entry)
Some algorithm use this method on the entries containing user supplied values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcenterDistance, edgeDistancepublic FarthestNeighbor(RectangleDistanceFunction dist)
public double dist(double[] center,
double[] min,
double[] max)
dist in interface RectangleDistanceFunctionpublic double dist(double[] center,
RectangleEntry<?> entry)
RectangleDistanceFunctiondist in interface RectangleDistanceFunctioncenter - a pointentry - a rectangleCopyright © 2018. All rights reserved.