A.I.M.S algorithms

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 wrapper of data More...
unsigned int _k
 k : number of nearest neighbours More...
 distance used in nearest neighbours computations More...
int _distance_n
 number of computed distance More...

Detailed Description

Definition at line 568 of file knn.h.

Constructor & Destructor Documentation

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

Definition at line 571 of file knn.h.

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

Definition at line 574 of file knn.h.

Member Function Documentation

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

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