#include <ANN.h>
Public Member Functions | |
ANNkd_tree (int n=0, int dd=0, int bs=1) | |
ANNkd_tree (ANNpointArray pa, int n, int dd, int bs=1, ANNsplitRule split=ANN_KD_SUGGEST) | |
ANNkd_tree (std::istream &in) | |
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 () | |
Public Member Functions inherited from ANNpointSet | |
virtual | ~ANNpointSet () |
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 |
ANNkd_tree::ANNkd_tree | ( | int | n = 0 , |
int | dd = 0 , |
||
int | bs = 1 |
||
) |
Definition at line 273 of file kd_tree.cpp.
ANNkd_tree::ANNkd_tree | ( | ANNpointArray | pa, |
int | n, | ||
int | dd, | ||
int | bs = 1 , |
||
ANNsplitRule | split = ANN_KD_SUGGEST |
||
) |
Definition at line 368 of file kd_tree.cpp.
ANNkd_tree::ANNkd_tree | ( | std::istream & | in | ) |
ANNkd_tree::~ANNkd_tree | ( | ) |
Definition at line 209 of file kd_tree.cpp.
|
virtual |
Implements ANNpointSet.
Definition at line 58 of file kd_fix_rad_search.cpp.
void ANNkd_tree::annkPriSearch | ( | ANNpoint | q, |
int | k, | ||
ANNidxArray | nn_idx, | ||
ANNdistArray | dd, | ||
double | eps = 0.0 |
||
) |
Definition at line 87 of file kd_pr_search.cpp.
|
virtual |
Implements ANNpointSet.
Definition at line 89 of file kd_search.cpp.
|
virtual |
Definition at line 102 of file kd_dump.cpp.
|
virtual |
Definition at line 191 of file kd_tree.cpp.
|
inlinevirtual |
Implements ANNpointSet.
|
virtual |
Definition at line 104 of file kd_tree.cpp.
|
protected |
Definition at line 244 of file kd_tree.cpp.
|
inlinevirtual |
Implements ANNpointSet.
|
inlinevirtual |
Implements ANNpointSet.
|
protected |
|
protected |