JensenShannonDistance< Numeric > Class Template Reference

#include <HistogramDistances.h>

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

List of all members.

Public Member Functions

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

Detailed Description

template<class Numeric>
class JensenShannonDistance< Numeric >

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

Definition at line 117 of file HistogramDistances.h.


Member Function Documentation

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

JensenShannon.

Implements HistogramDistance< Numeric >.

Definition at line 101 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