KdTree.Entry<T>, KdTree.Manhattan<T>, KdTree.SqrEuclid<T>, KdTree.WeightedManhattan<T>, KdTree.WeightedSqrEuclid<T>
Constructor and Description |
---|
KdTree.WeightedManhattan(int dimensions,
Integer sizeLimit) |
Modifier and Type | Method and Description |
---|---|
protected double |
getAxisWeightHint(int i) |
protected double |
pointDist(double[] p1,
double[] p2) |
protected double |
pointRegionDist(double[] point,
double[] min,
double[] max) |
void |
setWeights(double[] weights) |
addPoint, nearestNeighbor, size
public KdTree.WeightedManhattan(int dimensions, Integer sizeLimit)
public void setWeights(double[] weights)
protected double getAxisWeightHint(int i)
getAxisWeightHint
in class KdTree<T>
protected double pointDist(double[] p1, double[] p2)
protected double pointRegionDist(double[] point, double[] min, double[] max)
pointRegionDist
in class KdTree<T>
Copyright © 2015. All rights reserved.