ANNkd_tree Class Reference
#include <ANN.h>
List of all members.
Public Member Functions |
| ANNkd_tree (std::istream &in) |
| ANNkd_tree (ANNpointArray pa, int n, int dd, int bs=1, ANNsplitRule split=ANN_KD_SUGGEST) |
| ANNkd_tree (int n=0, int dd=0, int bs=1) |
int | annkFRSearch (ANNpoint q, ANNdist sqRad, int k, ANNidxArray nn_idx=NULL, ANNdistArray dd=NULL, double eps=0.0) |
void | annkPriSearch (ANNpoint q, int k, ANNidxArray nn_idx, ANNdistArray dd, double eps=0.0) |
void | annkSearch (ANNpoint q, int k, ANNidxArray nn_idx, ANNdistArray dd, double eps=0.0) |
virtual void | Dump (ANNbool with_pts, std::ostream &out) |
virtual void | getStats (ANNkdStats &st) |
int | nPoints () |
virtual void | Print (ANNbool with_pts, std::ostream &out) |
int | theDim () |
ANNpointArray | thePoints () |
| ~ANNkd_tree () |
Protected Member Functions |
void | SkeletonTree (int n, int dd, int bs, ANNpointArray pa=NULL, ANNidxArray pi=NULL) |
Protected Attributes |
int | bkt_size |
ANNpoint | bnd_box_hi |
ANNpoint | bnd_box_lo |
int | dim |
int | n_pts |
ANNidxArray | pidx |
ANNpointArray | pts |
ANNkd_ptr | root |
Detailed Description
Definition at line 701 of file ANN.h.
Constructor & Destructor Documentation
ANNkd_tree::ANNkd_tree |
( |
int |
n = 0 , |
|
|
int |
dd = 0 , |
|
|
int |
bs = 1 | |
|
) |
| | |
ANNkd_tree::ANNkd_tree |
( |
std::istream & |
in |
) |
|
ANNkd_tree::~ANNkd_tree |
( |
|
) |
|
Member Function Documentation
virtual void ANNkd_tree::Dump |
( |
ANNbool |
with_pts, |
|
|
std::ostream & |
out | |
|
) |
| | [virtual] |
void ANNkd_tree::getStats |
( |
ANNkdStats & |
st |
) |
[virtual] |
int ANNkd_tree::nPoints |
( |
|
) |
[inline, virtual] |
virtual void ANNkd_tree::Print |
( |
ANNbool |
with_pts, |
|
|
std::ostream & |
out | |
|
) |
| | [virtual] |
int ANNkd_tree::theDim |
( |
|
) |
[inline, virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: