A.I.M.S algorithms


aims::knn::SquaredEuclidianDistance Class Reference

#include <aims/math/knn.h>

Inheritance diagram for aims::knn::SquaredEuclidianDistance:
Collaboration diagram for aims::knn::SquaredEuclidianDistance:

Public Member Functions

 SquaredEuclidianDistance ()
 
virtual ~SquaredEuclidianDistance ()
 
virtual double operator() (const double *v1, const double *v2, unsigned int dim) const
 
- Public Member Functions inherited from aims::knn::Distance
 Distance ()
 
virtual ~Distance ()
 
virtual const std::string & name (void) const
 
virtual double operator() (const std::vector< double > &v1, const std::vector< double > &v2) const
 

Additional Inherited Members

- Protected Attributes inherited from aims::knn::Distance
std::string _name
 

Detailed Description

Definition at line 97 of file knn.h.

Constructor & Destructor Documentation

aims::knn::SquaredEuclidianDistance::SquaredEuclidianDistance ( )
inline

Definition at line 100 of file knn.h.

References aims::knn::Distance::_name.

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

Definition at line 104 of file knn.h.

Member Function Documentation

virtual double aims::knn::SquaredEuclidianDistance::operator() ( const double *  v1,
const double *  v2,
unsigned int  dim 
) const
inlinevirtual

Implements aims::knn::Distance.

Definition at line 106 of file knn.h.


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