EuclideanDistance< Numeric > Class Template Reference

#include <HistogramDistances.h>

Inheritance diagram for EuclideanDistance< Numeric >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual double distance (const std::vector< std::vector< Numeric > > &first, const std::vector< std::vector< Numeric > > &last) const
 Euclidean.
virtual double distance (const std::vector< Numeric > &first, const std::vector< Numeric > &last) const

Detailed Description

template<class Numeric>
class EuclideanDistance< Numeric >

Representation of the Euclidean distance function between histograms. This class represents the function to compute the Euclidean distance between histograms. The result is normalized to be in the range [0,1].

Definition at line 53 of file HistogramDistances.h.


Member Function Documentation

template<class Numeric >
double EuclideanDistance< Numeric >::distance ( const std::vector< std::vector< Numeric > > &  first,
const std::vector< std::vector< Numeric > > &  last 
) const [inline, virtual]

Euclidean.

Reimplemented from HistogramDistance< Numeric >.

Definition at line 17 of file HistogramDistances.hpp.

template<class Numeric >
double EuclideanDistance< Numeric >::distance ( const std::vector< Numeric > &  first,
const std::vector< Numeric > &  last 
) const [inline, virtual]

Computes the distance between the first and last histogram (1D).

Implements HistogramDistance< Numeric >.

Definition at line 27 of file HistogramDistances.hpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


flirtlib
Author(s): Bhaskara Marthi, Gian Diego Tipaldi
autogenerated on Fri Jan 11 11:15:47 2013