CMS 3D CMS Logo

Public Member Functions | Private Attributes

LargestWeightsStateMerger Class Reference

#include <LargestWeightsStateMerger.h>

Inheritance diagram for LargestWeightsStateMerger:
MultiGaussianStateMerger< N >

List of all members.

Public Member Functions

virtual LargestWeightsStateMergerclone () const
 LargestWeightsStateMerger (int n)
virtual RCMultiGaussianState merge (const RCMultiGaussianState &mgs) const

Private Attributes

int Nmax
bool theSmallestWeightsMerging

Detailed Description

Merging of a Gaussian mixture by keeping the number Nmax components with the largest weights.

Definition at line 10 of file LargestWeightsStateMerger.h.


Constructor & Destructor Documentation

LargestWeightsStateMerger::LargestWeightsStateMerger ( int  n) [inline]

Definition at line 14 of file LargestWeightsStateMerger.h.

Referenced by clone().

                                   : Nmax(n), theSmallestWeightsMerging(true) {
//     initConfigurables();
  }

Member Function Documentation

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

Implements MultiGaussianStateMerger< N >.

Definition at line 18 of file LargestWeightsStateMerger.h.

References LargestWeightsStateMerger().

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

Method which does the actual merging. Returns a trimmed MultiGaussianState.


Member Data Documentation

Definition at line 32 of file LargestWeightsStateMerger.h.

Definition at line 33 of file LargestWeightsStateMerger.h.