117 ANNprBoxPQ->
extr_min(box_dist, (
void *&) np);
123 np->ann_pri_search(box_dist);
126 for (
int i = 0; i <
k; i++) {
190 min_dist = ANNprPointMK->
max_key();
192 for (
int i = 0; i <
n_pts; i++) {
202 t = *(qq++) - *(pp++);
212 ANNprPointMK->
insert(dist, bkt[i]);
213 min_dist = ANNprPointMK->
max_key();
void insert(PQkey kv, PQinfo inf)
const ANNbool ANN_ALLOW_SELF_MATCH
void annkPriSearch(ANNpoint q, int k, ANNidxArray nn_idx, ANNdistArray dd, double eps=0.0)
virtual void ann_pri_search(ANNdist)
virtual void ann_pri_search(ANNdist)=0
void insert(PQKkey kv, PQKinfo inf)
virtual void ann_pri_search(ANNdist)
PQKinfo ith_smallest_info(int i)
ANNdist annBoxDistance(const ANNpoint q, const ANNpoint lo, const ANNpoint hi, int dim)
PQKkey ith_smallest_key(int i)
void extr_min(PQkey &kv, PQinfo &inf)