80 for (
int i = 0; i <
k; i++) {
109 child[
ANN_LO]->ann_FR_search(box_dist);
120 child[
ANN_HI]->ann_FR_search(box_dist);
124 child[
ANN_HI]->ann_FR_search(box_dist);
135 child[
ANN_LO]->ann_FR_search(box_dist);
156 for (
int i = 0; i <
n_pts; i++) {
166 t = *(qq++) - *(pp++);
173 if (d >= ANNkdFRDim &&
176 ANNkdFRPointMK->
insert(dist, bkt[i]);
PQKkey ith_smallest_key(int i)
virtual void ann_FR_search(ANNdist)=0
int annkFRSearch(ANNpoint q, ANNdist sqRad, int k, ANNidxArray nn_idx=NULL, ANNdistArray dd=NULL, double eps=0.0)
const ANNbool ANN_ALLOW_SELF_MATCH
PQKinfo ith_smallest_info(int i)
virtual void ann_FR_search(ANNdist)
virtual void ann_FR_search(ANNdist)
ANNmin_k * ANNkdFRPointMK
ANNdist annBoxDistance(const ANNpoint q, const ANNpoint lo, const ANNpoint hi, int dim)
void insert(PQKkey kv, PQKinfo inf)