/** * Construct the IntNearestNeighboursKDTree with the given options. * * @param pnts the data * @param ntrees the number of trees * @param nchecks the number of checks during search */ public IntNearestNeighboursKDTree(final int [][] pnts, int ntrees, int nchecks) { kdt = new IntKDTreeEnsemble(pnts, ntrees); this.nchecks = nchecks; }
/** * Construct the IntNearestNeighboursKDTree with the given options. * * @param pnts the data * @param ntrees the number of trees * @param nchecks the number of checks during search */ public IntNearestNeighboursKDTree(final int [][] pnts, int ntrees, int nchecks) { kdt = new IntKDTreeEnsemble(pnts, ntrees); this.nchecks = nchecks; }