#include <HistogramDistances.h>
Public Member Functions | |
virtual double | distance (const std::vector< Numeric > &first, const std::vector< Numeric > &last) const |
JensenShannon. |
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.
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.