public static interface FloatKDTree.SplitChooser
Modifier and Type | Method and Description |
---|---|
IntFloatPair |
chooseSplit(float[][] pnts,
IntArrayView inds,
int depth,
float[] minBounds,
float[] maxBounds)
Choose the dimension and discriminant on which to split the data.
|
IntFloatPair chooseSplit(float[][] pnts, IntArrayView inds, int depth, float[] minBounds, float[] 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