UFJF - Machine Learning Toolkit  0.51.8
mltk::metrics::dist::DistanceMetric< T > Class Template Referenceabstract

Base functor class for the implementation of new metrics metrics. More...

#include <DistanceMetric.hpp>

Inheritance diagram for mltk::metrics::dist::DistanceMetric< T >:
Collaboration diagram for mltk::metrics::dist::DistanceMetric< T >:

Public Member Functions

std::string & family ()
 
std::string & name ()
 
virtual T operator() (const Point< T > &p1, const Point< T > &p2) const =0
 

Protected Attributes

std::string m_family
 
std::string m_name
 

Detailed Description

template<typename T = double>
class mltk::metrics::dist::DistanceMetric< T >

Base functor class for the implementation of new metrics metrics.


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