#include <ANN.h>
Public Member Functions | |
ANNbruteForce (ANNpointArray pa, int n, int dd) | |
int | annkFRSearch (ANNpoint q, ANNdist sqRad, int k=0, ANNidxArray nn_idx=NULL, ANNdistArray dd=NULL, double eps=0.0) |
void | annkSearch (ANNpoint q, int k, ANNidxArray nn_idx, ANNdistArray dd, double eps=0.0) |
int | nPoints () |
int | theDim () |
ANNpointArray | thePoints () |
~ANNbruteForce () |
Definition at line 534 of file ANN.h.
ANNbruteForce::ANNbruteForce | ( | ANNpointArray | pa, | |
int | n, | |||
int | dd | |||
) |
int ANNbruteForce::annkFRSearch | ( | ANNpoint | q, | |
ANNdist | sqRad, | |||
int | k = 0 , |
|||
ANNidxArray | nn_idx = NULL , |
|||
ANNdistArray | dd = NULL , |
|||
double | eps = 0.0 | |||
) | [virtual] |
Implements ANNpointSet.
Definition at line 80 of file brute.cpp.
References ANN_ALLOW_SELF_MATCH, annDist(), ANNmin_k::insert(), ANNmin_k::ith_smallest_info(), and ANNmin_k::ith_smallest_key().
Referenced by getTrueNN().
void ANNbruteForce::annkSearch | ( | ANNpoint | q, | |
int | k, | |||
ANNidxArray | nn_idx, | |||
ANNdistArray | dd, | |||
double | eps = 0.0 | |||
) | [virtual] |
Implements ANNpointSet.
Definition at line 54 of file brute.cpp.
References ANN_ALLOW_SELF_MATCH, ANNabort, annDist(), annError(), ANNmin_k::insert(), ANNmin_k::ith_smallest_info(), and ANNmin_k::ith_smallest_key().
Referenced by getTrueNN().
int ANNbruteForce::nPoints | ( | ) | [inline, virtual] |
int ANNbruteForce::theDim | ( | ) | [inline, virtual] |
ANNpointArray ANNbruteForce::thePoints | ( | ) | [inline, virtual] |