CMS 3D CMS Logo

Public Member Functions | Private Types

KullbackLeiblerDistance< N > Class Template Reference

#include <KullbackLeiblerDistance.h>

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

List of all members.

Public Member Functions

virtual
KullbackLeiblerDistance< N > * 
clone () const
virtual double operator() (const SingleGaussianState< N > &, const SingleGaussianState< N > &) const

Private Types

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

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 [inline, virtual]

Implements DistanceBetweenComponents< N >.

Definition at line 24 of file KullbackLeiblerDistance.h.

  {  
    return new KullbackLeiblerDistance<N>(*this);
  }
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.