CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
MahalanobisDistance Class Reference

#include <MahalanobisDistance.h>

Inheritance diagram for MahalanobisDistance:
DistanceBetweenComponents< N >

Public Member Functions

virtual MahalanobisDistanceclone () const
 
virtual double operator() (const RCSingleGaussianState &, const RCSingleGaussianState &) const
 
- Public Member Functions inherited from DistanceBetweenComponents< N >
virtual double operator() (const SingleState &, const SingleState &) const =0
 
virtual ~DistanceBetweenComponents ()
 

Additional Inherited Members

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

Detailed Description

Calculation of Mahalanobis distance between two Gaussian components.

Definition at line 11 of file MahalanobisDistance.h.

Member Function Documentation

virtual MahalanobisDistance* MahalanobisDistance::clone ( void  ) const
inlinevirtual

Implements DistanceBetweenComponents< N >.

Definition at line 21 of file MahalanobisDistance.h.

22  {
23  return new MahalanobisDistance(*this);
24  }
virtual double MahalanobisDistance::operator() ( const RCSingleGaussianState ,
const RCSingleGaussianState  
) const
virtual

Method which calculates the actual Mahalanobis distance.