public static interface DoubleKDTree.SplitChooser
| Modifier and Type | Method and Description |
|---|---|
IntDoublePair |
chooseSplit(double[][] pnts,
IntArrayView inds,
int depth,
double[] minBounds,
double[] maxBounds)
Choose the dimension and discriminant on which to split the data.
|
IntDoublePair chooseSplit(double[][] pnts, IntArrayView inds, int depth, double[] minBounds, double[] maxBounds)
pnts - the raw datainds - the indices of the data under considerationdepth - the depth of the current data in the treeminBounds - the minimum boundsmaxBounds - the maximum bounds