![]() |
aimsalgo
5.1.2
Neuroimaging image processing
|
#include <aims/math/knn.h>


Public Member Functions | |
| KnnGlobalFriedman (Database &db, unsigned int k, Distance *distance=new SquaredEuclidianDistance()) | |
| virtual | ~KnnGlobalFriedman () |
| virtual void | precompute (void) |
| std::pair< std::vector< unsigned int >, std::vector< double > > | find (const std::vector< double > &v) |
Public Member Functions inherited from aims::knn::KnnFriedman | |
| KnnFriedman (Database &db, unsigned int k, Distance *distance=new SquaredEuclidianDistance()) | |
| virtual | ~KnnFriedman () |
Public Member Functions inherited from aims::knn::Knn | |
| Knn (Database &db, unsigned int k, Distance *distance=new SquaredEuclidianDistance()) | |
| virtual | ~Knn () |
Additional Inherited Members | |
Protected Attributes inherited from aims::knn::Knn | |
| Database & | _db |
| database wrapper of data More... | |
| unsigned int | _k |
| k : number of nearest neighbours More... | |
| Distance * | _distance |
| distance used in nearest neighbours computations More... | |
| int | _distance_n |
| number of computed distance More... | |
|
inline |
|
inlinevirtual |
|
virtual |
Implements aims::knn::KnnFriedman.
|
virtual |
Implements aims::knn::KnnFriedman.