#include <BasicMultiTrajectoryState.h>
Public Types | |
using | Components = BasicTrajectoryState::Components |
Public Types inherited from BasicTrajectoryState | |
typedef BasicTrajectoryState | BTSOS |
using | Components = std::vector< TrajectoryStateOnSurface > |
typedef Proxy::pointer | pointer |
typedef ProxyBase11< BTSOS > | Proxy |
typedef SurfaceSideDefinition::SurfaceSide | SurfaceSide |
typedef Surface | SurfaceType |
Private Types | |
typedef TrajectoryStateOnSurface | TSOS |
Private Member Functions | |
void | combine () |
Private Attributes | |
Components | theStates |
Additional Inherited Members | |
Static Public Member Functions inherited from BasicTrajectoryState | |
template<typename T , typename... Args> | |
static std::shared_ptr< BTSOS > | build (Args &&...args) |
template<typename T , typename... Args> | |
static std::shared_ptr< BTSOS > | churn (Args &&...args) |
Class which combines a set of components of a Gaussian mixture into a single component. Given all the components of a mixture, it calculates the mean and covariance matrix of the entire mixture. This combiner class can also be used in the process of transforming a Gaussian mixture into another Gaussian mixture with a smaller number of components. The relevant formulas can be found in R. Fruhwirth, Computer Physics Communications 100 (1997), 1.
Definition at line 17 of file BasicMultiTrajectoryState.h.
Definition at line 35 of file BasicMultiTrajectoryState.h.
|
private |
Definition at line 18 of file BasicMultiTrajectoryState.h.
|
explicit |
Definition at line 8 of file BasicMultiTrajectoryState.cc.
References combine(), Exception, mps_fire::i, and UNLIKELY.
|
inline |
Definition at line 23 of file BasicMultiTrajectoryState.h.
|
inlineoverridevirtual |
Reimplemented from BasicTrajectoryState.
Definition at line 39 of file BasicMultiTrajectoryState.h.
|
inlineoverridevirtual |
Implements BasicTrajectoryState.
Definition at line 33 of file BasicMultiTrajectoryState.h.
|
private |
Definition at line 47 of file BasicMultiTrajectoryState.cc.
References change_name::diff, SiStripPI::mean, theStates, UNLIKELY, BasicTrajectoryState::update(), and BasicTrajectoryState::weight().
Referenced by BasicMultiTrajectoryState(), and rescaleError().
|
inlineoverridevirtual |
Implements BasicTrajectoryState.
Definition at line 36 of file BasicMultiTrajectoryState.h.
References theStates.
void BasicMultiTrajectoryState::rescaleError | ( | double | factor | ) |
Rescaling the error of the mixture with a given factor. Please note that this rescaling is imposed on each of the components of the mixture and does therefore not exactly correspond to rescaling theCombinedState with the same factor.
Definition at line 36 of file BasicMultiTrajectoryState.cc.
References combine(), theStates, and UNLIKELY.
|
inlineoverridevirtual |
Implements BasicTrajectoryState.
Definition at line 37 of file BasicMultiTrajectoryState.h.
|
overridevirtual |
Reimplemented from BasicTrajectoryState.
Definition at line 104 of file BasicMultiTrajectoryState.cc.
References Exception.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overridevirtual |
Reimplemented from BasicTrajectoryState.
Definition at line 113 of file BasicMultiTrajectoryState.cc.
References Exception.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 53 of file BasicMultiTrajectoryState.h.
Referenced by combine(), components(), and rescaleError().