25 #include "kd_fix_rad_search.h"
80 for (
int i = 0; i < k; i++) {
100 void ANNkd_split::ann_FR_search(
ANNdist box_dist)
109 child[
ANN_LO]->ann_FR_search(box_dist);
115 box_dist = (
ANNdist) ANN_SUM(box_dist,
116 ANN_DIFF(ANN_POW(box_diff), ANN_POW(cut_diff)));
120 child[
ANN_HI]->ann_FR_search(box_dist);
124 child[
ANN_HI]->ann_FR_search(box_dist);
130 box_dist = (
ANNdist) ANN_SUM(box_dist,
131 ANN_DIFF(ANN_POW(box_diff), ANN_POW(cut_diff)));
135 child[
ANN_LO]->ann_FR_search(box_dist);
148 void ANNkd_leaf::ann_FR_search(
ANNdist box_dist)
156 for (
int i = 0; i < n_pts; i++) {
166 t = *(qq++) - *(pp++);
173 if (d >= ANNkdFRDim &&
ANNmin_k * ANNkdFRPointMK
int annkFRSearch(ANNpoint q, ANNdist sqRad, int k, ANNidxArray nn_idx=NULL, ANNdistArray dd=NULL, double eps=0.0)
McOptionsValues::McOptionsValues(#ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS const SsOptionsValues *alternativePSsOptionsValues, const SsOptionsValues *alternativeQSsOptionsValues#endif if)(m_alternativeQSsOptionsValues=*alternativeQSsOptionsValues)
ANNdist annBoxDistance(const ANNpoint q, const ANNpoint lo, const ANNpoint hi, int dim)
const ANNbool ANN_ALLOW_SELF_MATCH