aimsalgo  5.1.2
Neuroimaging image processing
aims::knn::KnnGlobalFriedman Class Reference

#include <aims/math/knn.h>

Inheritance diagram for aims::knn::KnnGlobalFriedman:
Collaboration diagram for aims::knn::KnnGlobalFriedman:

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...
 

Detailed Description

Definition at line 590 of file knn.h.

Constructor & Destructor Documentation

◆ KnnGlobalFriedman()

aims::knn::KnnGlobalFriedman::KnnGlobalFriedman ( Database db,
unsigned int  k,
Distance distance = new SquaredEuclidianDistance() 
)
inline

Definition at line 593 of file knn.h.

◆ ~KnnGlobalFriedman()

virtual aims::knn::KnnGlobalFriedman::~KnnGlobalFriedman ( )
inlinevirtual

Definition at line 596 of file knn.h.

Member Function Documentation

◆ find()

std::pair<std::vector<unsigned int>, std::vector<double> > aims::knn::KnnGlobalFriedman::find ( const std::vector< double > &  v)
virtual

◆ precompute()

virtual void aims::knn::KnnGlobalFriedman::precompute ( void  )
virtual

The documentation for this class was generated from the following file: