CMS 3D CMS Logo

Public Member Functions

MahalanobisDistance Class Reference

#include <MahalanobisDistance.h>

Inheritance diagram for MahalanobisDistance:
DistanceBetweenComponents< N >

List of all members.

Public Member Functions

virtual MahalanobisDistanceclone () const
virtual double operator() (const RCSingleGaussianState &, const RCSingleGaussianState &) const

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

Implements DistanceBetweenComponents< N >.

Definition at line 21 of file MahalanobisDistance.h.

  {  
    return new MahalanobisDistance(*this);
  }
virtual double MahalanobisDistance::operator() ( const RCSingleGaussianState ,
const RCSingleGaussianState  
) const [virtual]

Method which calculates the actual Mahalanobis distance.