CMS 3D CMS Logo

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

#include <LargestWeightsStateMerger.h>

Inheritance diagram for LargestWeightsStateMerger:
MultiGaussianStateMerger< N >

Public Member Functions

virtual LargestWeightsStateMergerclone () const
 
 LargestWeightsStateMerger (int n)
 
virtual RCMultiGaussianState merge (const RCMultiGaussianState &mgs) const
 
- Public Member Functions inherited from MultiGaussianStateMerger< N >
virtual MultiState merge (const MultiState &mgs) const =0
 
virtual ~MultiGaussianStateMerger ()
 

Private Attributes

int Nmax
 
bool theSmallestWeightsMerging
 

Additional Inherited Members

- Public Types inherited from MultiGaussianStateMerger< N >
typedef MultiGaussianState< NMultiState
 
typedef SingleGaussianState< NSingleState
 
- Protected Types inherited from MultiGaussianStateMerger< N >
typedef std::vector< SingleStateSGSVector
 
- Protected Member Functions inherited from MultiGaussianStateMerger< N >
 MultiGaussianStateMerger ()
 

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().

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

Member Function Documentation

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

Implements MultiGaussianStateMerger< N >.

Definition at line 18 of file LargestWeightsStateMerger.h.

References LargestWeightsStateMerger().

19  {
20  return new LargestWeightsStateMerger(*this);
21  }
virtual RCMultiGaussianState LargestWeightsStateMerger::merge ( const RCMultiGaussianState mgs) const
virtual

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

Member Data Documentation

int LargestWeightsStateMerger::Nmax
private

Definition at line 32 of file LargestWeightsStateMerger.h.

bool LargestWeightsStateMerger::theSmallestWeightsMerging
private

Definition at line 33 of file LargestWeightsStateMerger.h.