CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
KeepingNonZeroWeightsMerger Class Reference

#include <KeepingNonZeroWeightsMerger.h>

Inheritance diagram for KeepingNonZeroWeightsMerger:
MultiGaussianStateMerger< N >

Public Member Functions

virtual KeepingNonZeroWeightsMergerclone () const
 
 KeepingNonZeroWeightsMerger ()
 
 KeepingNonZeroWeightsMerger (const double &value)
 
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

double cut
 

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 components with weights larger than a cut value.

Definition at line 10 of file KeepingNonZeroWeightsMerger.h.

Constructor & Destructor Documentation

KeepingNonZeroWeightsMerger::KeepingNonZeroWeightsMerger ( )
inline
KeepingNonZeroWeightsMerger::KeepingNonZeroWeightsMerger ( const double &  value)
inline

Member Function Documentation

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

Implements MultiGaussianStateMerger< N >.

Definition at line 18 of file KeepingNonZeroWeightsMerger.h.

References KeepingNonZeroWeightsMerger(), and merge().

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

Method which does the actual merging. Returns a trimmed MultiGaussianState

Referenced by clone().

Member Data Documentation

double KeepingNonZeroWeightsMerger::cut
private

Definition at line 30 of file KeepingNonZeroWeightsMerger.h.