#include <iomanip>
#include <ANN/ANN.h>
Go to the source code of this file.
Classes | |
class | ANNorthRect |
class | ANNorthHalfSpace |
Typedefs | |
typedef ANNorthHalfSpace * | ANNorthHSArray |
Enumerations | |
enum | { ANN_LO = 0, ANN_HI = 1 } |
enum | { ANN_IN = 0, ANN_OUT = 1 } |
enum | ANNerr { ANNwarn = 0, ANNabort = 1 } |
Functions | |
void | annError (const char *msg, ANNerr level) |
void | annPrintPt (ANNpoint pt, int dim, std::ostream &out) |
void | annAssignRect (int dim, ANNorthRect &dest, const ANNorthRect &source) |
Variables | |
int | ANNmaxPtsVisited |
int | ANNptsVisited |
typedef ANNorthHalfSpace* ANNorthHSArray |
anonymous enum |
anonymous enum |
enum ANNerr |
void annAssignRect | ( | int | dim, |
ANNorthRect & | dest, | ||
const ANNorthRect & | source | ||
) |
Definition at line 146 of file ANN.cpp.
References ANNorthRect::hi, and ANNorthRect::lo.
Referenced by annBnds2Box(), and tryCentroidShrink().
void annError | ( | const char * | msg, |
ANNerr | level | ||
) |
Definition at line 167 of file ANN.cpp.
References ANNabort.
Referenced by ANNbd_tree::ANNbd_tree(), ANNkd_tree::ANNkd_tree(), ANNkd_tree::annkSearch(), ANNbruteForce::annkSearch(), annReadDump(), annReadTree(), ANNpr_queue::insert(), and selectDecomp().
{ if (level == ANNabort) { cerr << "ANN: ERROR------->" << msg << "<-------------ERROR\n"; exit(1); } else { cerr << "ANN: WARNING----->" << msg << "<-------------WARNING\n"; } }
void annPrintPt | ( | ANNpoint | pt, |
int | dim, | ||
std::ostream & | out | ||
) |
int ANNmaxPtsVisited |
Definition at line 188 of file ANN.cpp.
Referenced by ANNkd_split::ann_FR_search(), ANNbd_shrink::ann_FR_search(), ANNkd_split::ann_search(), ANNbd_shrink::ann_search(), ANNkd_tree::annkPriSearch(), and annMaxPtsVisit().
int ANNptsVisited |
Definition at line 189 of file ANN.cpp.
Referenced by ANNbd_shrink::ann_FR_search(), ANNkd_leaf::ann_pri_search(), ANNkd_leaf::ann_search(), ANNkd_split::ann_search(), ANNbd_shrink::ann_search(), ANNkd_tree::annkPriSearch(), and ANNkd_tree::annkSearch().