A.I.M.S algorithms

aims::knn::TchebychevDistance Class Reference

#include <aims/math/knn.h>

Inheritance diagram for aims::knn::TchebychevDistance:
Collaboration diagram for aims::knn::TchebychevDistance:

Public Member Functions

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

Constructor & Destructor Documentation

aims::knn::TchebychevDistance::TchebychevDistance ( )

Definition at line 144 of file knn.h.

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

virtual aims::knn::TchebychevDistance::~TchebychevDistance ( )

Definition at line 148 of file knn.h.

Member Function Documentation

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

Implements aims::knn::Distance.

Definition at line 150 of file knn.h.

References aims::meshdistance::max().

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