#include <bd_tree.h>
Public Member Functions | |
virtual void | ann_FR_search (ANNdist) |
virtual void | ann_pri_search (ANNdist) |
virtual void | ann_search (ANNdist) |
ANNbd_shrink (int nb, ANNorthHSArray bds, ANNkd_ptr ic=NULL, ANNkd_ptr oc=NULL) | |
virtual void | dump (ostream &out) |
virtual void | getStats (int dim, ANNkdStats &st, ANNorthRect &bnd_box) |
virtual void | print (int level, ostream &out) |
~ANNbd_shrink () |
Definition at line 61 of file bd_tree.h.
ANNbd_shrink::ANNbd_shrink | ( | int | nb, | |
ANNorthHSArray | bds, | |||
ANNkd_ptr | ic = NULL , |
|||
ANNkd_ptr | oc = NULL | |||
) | [inline] |
ANNbd_shrink::~ANNbd_shrink | ( | ) | [inline] |
Definition at line 78 of file bd_tree.h.
References ANN_IN, ANN_OUT, and KD_TRIVIAL.
void ANNbd_shrink::ann_FR_search | ( | ANNdist | box_dist | ) | [virtual] |
Implements ANNkd_node.
Definition at line 39 of file bd_fix_rad_search.cpp.
References ANN_FLOP, ANNkd_node::ann_FR_search(), ANN_IN, ANN_OUT, ANN_SHR, ANN_SUM, ANNkdFRQ, ANNmaxPtsVisited, ANNptsVisited, and draftlibs::fcvec::dist().
void ANNbd_shrink::ann_pri_search | ( | ANNdist | box_dist | ) | [virtual] |
Implements ANNkd_node.
Definition at line 39 of file bd_pr_search.cpp.
References ANN_FLOP, ANN_IN, ANN_OUT, ANNkd_node::ann_pri_search(), ANN_SHR, ANN_SUM, ANNprBoxPQ, ANNprQ, draftlibs::fcvec::dist(), ANNpr_queue::insert(), and KD_TRIVIAL.
void ANNbd_shrink::ann_search | ( | ANNdist | box_dist | ) | [virtual] |
Implements ANNkd_node.
Definition at line 39 of file bd_search.cpp.
References ANN_FLOP, ANN_IN, ANN_OUT, ANNkd_node::ann_search(), ANN_SHR, ANN_SUM, ANNkdQ, ANNmaxPtsVisited, ANNptsVisited, and draftlibs::fcvec::dist().
void ANNbd_shrink::dump | ( | ostream & | out | ) | [virtual] |
Implements ANNkd_node.
Definition at line 161 of file kd_dump.cpp.
References ANN_IN, ANN_OUT, ANNorthHalfSpace::cd, ANNorthHalfSpace::cv, ANNkd_node::dump(), and ANNorthHalfSpace::sd.
void ANNbd_shrink::getStats | ( | int | dim, | |
ANNkdStats & | st, | |||
ANNorthRect & | bnd_box | |||
) | [virtual] |
Implements ANNkd_node.
Definition at line 71 of file bd_tree.cpp.
References ANN_IN, ANN_OUT, annBnds2Box(), ANNkdStats::depth, ANNkd_node::getStats(), ANNkdStats::merge(), ANNkdStats::n_shr, and ANNkdStats::reset().
void ANNbd_shrink::print | ( | int | level, | |
ostream & | out | |||
) | [virtual] |
Implements ANNkd_node.
Definition at line 41 of file bd_tree.cpp.
References ANN_IN, ANN_OUT, ANNorthHalfSpace::cd, ANNkd_node::print(), and ANNorthHalfSpace::sd.