#include <ANN/ANNx.h>
#include <ANN/ANNperf.h>
#include <cstdlib>
Go to the source code of this file.
Functions | |
ANNpoint | annAllocPt (int dim, ANNcoord c) |
ANNpointArray | annAllocPts (int n, int dim) |
void | annAssignRect (int dim, ANNorthRect &dest, const ANNorthRect &source) |
ANNpoint | annCopyPt (int dim, ANNpoint source) |
void | annDeallocPt (ANNpoint &p) |
void | annDeallocPts (ANNpointArray &pa) |
ANNdist | annDist (int dim, ANNpoint p, ANNpoint q) |
void | annError (char *msg, ANNerr level) |
void | annMaxPtsVisit (int maxPts) |
void | annPrintPt (ANNpoint pt, int dim, std::ostream &out) |
Variables | |
int | ANNmaxPtsVisited = 0 |
int | ANNptsVisited |
Definition at line 108 of file ANN.cpp.
References draftTools::p.
Referenced by best_fit::ANN(), ANNorthRect::ANNorthRect(), annReadDump(), and main().
ANNpointArray annAllocPts | ( | int | n, | |
int | dim | |||
) |
Definition at line 115 of file ANN.cpp.
References draftTools::p.
Referenced by best_fit::ANN(), annClusEllipsoids(), annClusGaussPts(), annClusOrthFlats(), annReadDump(), generatePts(), main(), readANN(), and readPts().
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().
Definition at line 138 of file ANN.cpp.
References draftTools::p.
Referenced by ANNbd_tree::ANNbd_tree(), ANNkd_tree::ANNkd_tree(), and ANNorthRect::ANNorthRect().
void annDeallocPt | ( | ANNpoint & | p | ) |
Definition at line 125 of file ANN.cpp.
Referenced by ANNkd_tree::~ANNkd_tree(), and ANNorthRect::~ANNorthRect().
void annDeallocPts | ( | ANNpointArray & | pa | ) |
Definition at line 131 of file ANN.cpp.
Referenced by annClusEllipsoids(), annClusGaussPts(), annClusOrthFlats(), generatePts(), main(), and readPts().
Definition at line 44 of file ANN.cpp.
References ANN_COORD, ANN_FLOP, ANN_POW, ANN_PTS, ANN_SUM, KDL::diff(), and draftlibs::fcvec::dist().
Referenced by ANNbruteForce::annkFRSearch(), and ANNbruteForce::annkSearch().
void annError | ( | 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().
void annMaxPtsVisit | ( | int | maxPts | ) |
void annPrintPt | ( | ANNpoint | pt, | |
int | dim, | |||
std::ostream & | out | |||
) |
Definition at line 68 of file ANN.cpp.
Referenced by ANNkd_tree::Dump(), and ANNkd_tree::Print().
int ANNmaxPtsVisited = 0 |
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().