CMS 3D CMS Logo

Public Member Functions | Private Attributes

KeepingNonZeroWeightsMerger Class Reference

#include <KeepingNonZeroWeightsMerger.h>

Inheritance diagram for KeepingNonZeroWeightsMerger:
MultiGaussianStateMerger< N >

List of all members.

Public Member Functions

virtual
KeepingNonZeroWeightsMerger
clone () const
 KeepingNonZeroWeightsMerger (const double &value)
 KeepingNonZeroWeightsMerger ()
virtual RCMultiGaussianState merge (const RCMultiGaussianState &mgs) const

Private Attributes

double cut

Detailed Description

Merging of a Gaussian mixture by keeping the components with weights larger than a cut value.

Definition at line 10 of file KeepingNonZeroWeightsMerger.h.


Constructor & Destructor Documentation

KeepingNonZeroWeightsMerger::KeepingNonZeroWeightsMerger ( ) [inline]

Definition at line 14 of file KeepingNonZeroWeightsMerger.h.

Referenced by clone().

: cut(1.e-7) {}
KeepingNonZeroWeightsMerger::KeepingNonZeroWeightsMerger ( const double &  value) [inline]

Definition at line 16 of file KeepingNonZeroWeightsMerger.h.

: cut(value) {}

Member Function Documentation

virtual KeepingNonZeroWeightsMerger* KeepingNonZeroWeightsMerger::clone ( void  ) const [inline, virtual]

Implements MultiGaussianStateMerger< N >.

Definition at line 18 of file KeepingNonZeroWeightsMerger.h.

References KeepingNonZeroWeightsMerger().

  {  
    return new KeepingNonZeroWeightsMerger(*this);
  }
virtual RCMultiGaussianState KeepingNonZeroWeightsMerger::merge ( const RCMultiGaussianState mgs) const [virtual]

Method which does the actual merging. Returns a trimmed MultiGaussianState


Member Data Documentation

Definition at line 30 of file KeepingNonZeroWeightsMerger.h.