CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types
KullbackLeiblerDistance< N > Class Template Reference

#include <KullbackLeiblerDistance.h>

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

Public Member Functions

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

Private Types

typedef SingleGaussianState< N >
::Matrix 
Matrix
 
typedef SingleGaussianState< N >
::Vector 
Vector
 

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 Typedef Documentation

template<unsigned int N>
typedef SingleGaussianState<N>::Matrix KullbackLeiblerDistance< N >::Matrix
private

Definition at line 14 of file KullbackLeiblerDistance.h.

template<unsigned int N>
typedef SingleGaussianState<N>::Vector KullbackLeiblerDistance< N >::Vector
private

Definition at line 13 of file KullbackLeiblerDistance.h.

Member Function Documentation

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

Implements DistanceBetweenComponents< N >.

Definition at line 24 of file KullbackLeiblerDistance.h.

25  {
26  return new KullbackLeiblerDistance<N>(*this);
27  }
template<unsigned int N>
virtual double KullbackLeiblerDistance< N >::operator() ( const SingleGaussianState< N > &  ,
const SingleGaussianState< N > &   
) const
virtual

Method which calculates the actual Kullback-Leibler distance.

Implements DistanceBetweenComponents< N >.