#include <LargestWeightsStateMerger.h>
Public Member Functions | |
virtual LargestWeightsStateMerger * | clone () const |
LargestWeightsStateMerger (int n) | |
virtual RCMultiGaussianState | merge (const RCMultiGaussianState &mgs) const |
Private Attributes | |
int | Nmax |
bool | theSmallestWeightsMerging |
Merging of a Gaussian mixture by keeping the number Nmax components with the largest weights.
Definition at line 10 of file LargestWeightsStateMerger.h.
LargestWeightsStateMerger::LargestWeightsStateMerger | ( | int | n | ) | [inline] |
Definition at line 14 of file LargestWeightsStateMerger.h.
Referenced by clone().
: Nmax(n), theSmallestWeightsMerging(true) { // initConfigurables(); }
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.
int LargestWeightsStateMerger::Nmax [private] |
Definition at line 32 of file LargestWeightsStateMerger.h.
bool LargestWeightsStateMerger::theSmallestWeightsMerging [private] |
Definition at line 33 of file LargestWeightsStateMerger.h.