#include <MultiGaussianState1D.h>
Public Types | |
typedef std::vector< SingleGaussianState1D > | SingleState1dContainer |
Public Member Functions | |
const SingleState1dContainer & | components () const |
access to components More... | |
double | mean () const |
combined mean More... | |
MultiGaussianState1D () | |
MultiGaussianState1D (const SingleState1dContainer &stateV) | |
double | variance () const |
combined variance More... | |
double | weight () const |
combined weight More... | |
~MultiGaussianState1D () | |
Private Member Functions | |
void | checkCombinedState () const |
calculation of the combined state (on demand) More... | |
Private Attributes | |
SingleGaussianState1D | theCombinedState |
bool | theCombinedStateUp2Date |
const SingleState1dContainer | theComponents |
One-dimensional multi-Gaussian mixture: weighted sum of single Gaussian components.
Definition at line 12 of file MultiGaussianState1D.h.
typedef std::vector<SingleGaussianState1D> MultiGaussianState1D::SingleState1dContainer |
Definition at line 14 of file MultiGaussianState1D.h.
|
inline |
Definition at line 18 of file MultiGaussianState1D.h.
|
inline |
Definition at line 20 of file MultiGaussianState1D.h.
|
inline |
Definition at line 23 of file MultiGaussianState1D.h.
References mean(), variance(), and weight().
|
private |
calculation of the combined state (on demand)
Definition at line 27 of file MultiGaussianState1D.cc.
References MultiGaussianStateCombiner1D::combine(), theCombinedState, theCombinedStateUp2Date, and theComponents.
Referenced by components(), mean(), and variance().
|
inline |
access to components
Definition at line 32 of file MultiGaussianState1D.h.
References checkCombinedState(), and theComponents.
Referenced by MultiGaussianStateCombiner1D::combine(), GaussianSumUtilities1D::components(), and MultiTrajectoryStateMode::momentumFromModeP().
double MultiGaussianState1D::mean | ( | ) | const |
combined mean
Definition at line 15 of file MultiGaussianState1D.cc.
References checkCombinedState(), SingleGaussianState1D::mean(), and theCombinedState.
Referenced by GaussianSumUtilities1D::computeMode(), GaussianSumUtilities1D::mean(), and ~MultiGaussianState1D().
double MultiGaussianState1D::variance | ( | ) | const |
combined variance
Definition at line 21 of file MultiGaussianState1D.cc.
References checkCombinedState(), theCombinedState, and SingleGaussianState1D::variance().
Referenced by GaussianSumUtilities1D::computeMode(), GaussianSumUtilities1D::variance(), and ~MultiGaussianState1D().
double MultiGaussianState1D::weight | ( | void | ) | const |
combined weight
Definition at line 5 of file MultiGaussianState1D.cc.
References mps_fire::result, theCombinedState, theCombinedStateUp2Date, theComponents, and SingleGaussianState1D::weight().
Referenced by GaussianSumUtilities1D::computeMode(), GaussianSumUtilities1D::weight(), and ~MultiGaussianState1D().
|
mutableprivate |
Definition at line 41 of file MultiGaussianState1D.h.
Referenced by checkCombinedState(), mean(), variance(), and weight().
|
mutableprivate |
Definition at line 42 of file MultiGaussianState1D.h.
Referenced by checkCombinedState(), and weight().
|
private |
Definition at line 40 of file MultiGaussianState1D.h.
Referenced by checkCombinedState(), components(), and weight().