A.I.M.S algorithms

aims::knn::EuclidianDistance Class Reference

#include <aims/math/knn.h>

Inheritance diagram for aims::knn::EuclidianDistance:
Collaboration diagram for aims::knn::EuclidianDistance:

Public Member Functions

 EuclidianDistance ()
virtual ~EuclidianDistance ()
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 74 of file knn.h.

Constructor & Destructor Documentation

aims::knn::EuclidianDistance::EuclidianDistance ( )

Definition at line 77 of file knn.h.

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

virtual aims::knn::EuclidianDistance::~EuclidianDistance ( )

Definition at line 81 of file knn.h.

Member Function Documentation

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

Implements aims::knn::Distance.

Definition at line 83 of file knn.h.

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