CMS 3D CMS Logo

List of all members | Public Member Functions
KullbackLeiblerDistance< N > Class Template Referencefinal

#include <KullbackLeiblerDistance.h>

Inheritance diagram for KullbackLeiblerDistance< N >:
DistanceBetweenComponents< N >

Public Member Functions

virtual KullbackLeiblerDistance< N > * clone () const override
 
double operator() (const SingleGaussianState< N > &, const SingleGaussianState< N > &) const override
 
- Public Member Functions inherited from DistanceBetweenComponents< N >
virtual ~DistanceBetweenComponents ()
 

Additional Inherited Members

- Public Types inherited from DistanceBetweenComponents< N >
typedef SingleGaussianState< NSingleState
 

Detailed Description

template<unsigned int N>
class KullbackLeiblerDistance< N >

Calculation of Kullback-Leibler distance between two Gaussian components.

Definition at line 10 of file KullbackLeiblerDistance.h.

Member Function Documentation

template<unsigned int N>
virtual KullbackLeiblerDistance<N>* KullbackLeiblerDistance< N >::clone ( void  ) const
inlineoverridevirtual

Implements DistanceBetweenComponents< N >.

Definition at line 18 of file KullbackLeiblerDistance.h.

19  {
20  return new KullbackLeiblerDistance<N>(*this);
21  }
template<unsigned int N>
double KullbackLeiblerDistance< N >::operator() ( const SingleGaussianState< N > &  ,
const SingleGaussianState< N > &   
) const
overridevirtual

Method which calculates the actual Kullback-Leibler distance.

Implements DistanceBetweenComponents< N >.