#include <kd_tree.h>
Public Member Functions | |
virtual void | ann_FR_search (ANNdist) |
virtual void | ann_pri_search (ANNdist) |
virtual void | ann_search (ANNdist) |
ANNkd_leaf (int n, ANNidxArray b) | |
virtual void | dump (ostream &out) |
virtual void | getStats (int dim, ANNkdStats &st, ANNorthRect &bnd_box) |
virtual void | print (int level, ostream &out) |
~ANNkd_leaf () |
Definition at line 91 of file kd_tree.h.
ANNkd_leaf::ANNkd_leaf | ( | int | n, | |
ANNidxArray | b | |||
) | [inline] |
void ANNkd_leaf::ann_FR_search | ( | ANNdist | box_dist | ) | [virtual] |
Implements ANNkd_node.
Definition at line 148 of file kd_fix_rad_search.cpp.
References ANN_ALLOW_SELF_MATCH, ANN_COORD, ANN_FLOP, ANN_LEAF, ANN_POW, ANN_PTS, ANN_SUM, ANNkdFRDim, ANNkdFRPts, ANNkdFRPtsInRange, ANNkdFRPtsVisited, ANNkdFRQ, ANNkdFRSqRad, draftlibs::fcvec::dist(), ANNmin_k::insert(), and RobotExample::t.
void ANNkd_leaf::ann_pri_search | ( | ANNdist | box_dist | ) | [virtual] |
Implements ANNkd_node.
Definition at line 181 of file kd_pr_search.cpp.
References ANN_ALLOW_SELF_MATCH, ANN_COORD, ANN_FLOP, ANN_LEAF, ANN_POW, ANN_PTS, ANN_SUM, ANNprDim, ANNprPts, ANNprQ, ANNptsVisited, draftlibs::fcvec::dist(), ANNmin_k::insert(), ANNmin_k::max_key(), and RobotExample::t.
void ANNkd_leaf::ann_search | ( | ANNdist | box_dist | ) | [virtual] |
Implements ANNkd_node.
Definition at line 172 of file kd_search.cpp.
References ANN_ALLOW_SELF_MATCH, ANN_COORD, ANN_FLOP, ANN_LEAF, ANN_POW, ANN_PTS, ANN_SUM, ANNkdDim, ANNkdPts, ANNkdQ, ANNptsVisited, draftlibs::fcvec::dist(), ANNmin_k::insert(), ANNmin_k::max_key(), and RobotExample::t.
void ANNkd_leaf::dump | ( | ostream & | out | ) | [virtual] |
void ANNkd_leaf::getStats | ( | int | dim, | |
ANNkdStats & | st, | |||
ANNorthRect & | bnd_box | |||
) | [virtual] |
Implements ANNkd_node.
Definition at line 147 of file kd_tree.cpp.
References ANN_AR_TOOBIG, annAspectRatio(), ANNkdStats::n_lf, ANNkdStats::n_tl, ANNkdStats::reset(), and ANNkdStats::sum_ar.
void ANNkd_leaf::print | ( | int | level, | |
ostream & | out | |||
) | [virtual] |
Implements ANNkd_node.
Definition at line 82 of file kd_tree.cpp.