CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
MultiGaussianState< N > Class Template Reference

Mixture of multi-variate gaussian states. More...

#include <MultiGaussianState.h>

Public Types

typedef SingleGaussianState< N >::Matrix Matrix
 
typedef SingleGaussianState< NSingleState
 
typedef std::vector< SingleStatePtrSingleStateContainer
 
typedef std::shared_ptr< SingleStateSingleStatePtr
 
typedef SingleGaussianState< N >::Vector Vector
 

Public Member Functions

 MultiGaussianState ()
 
 MultiGaussianState (const SingleStateContainer &stateV)
 
 ~MultiGaussianState ()
 

Detailed Description

template<unsigned int N>
class MultiGaussianState< N >

Mixture of multi-variate gaussian states.

Multi-dimensional multi-Gaussian mixture: weighted sum of single Gaussian components.

Definition at line 18 of file MultiGaussianState.h.

Member Typedef Documentation

◆ Matrix

template<unsigned int N>
typedef SingleGaussianState<N>::Matrix MultiGaussianState< N >::Matrix

Definition at line 21 of file MultiGaussianState.h.

◆ SingleState

template<unsigned int N>
typedef SingleGaussianState<N> MultiGaussianState< N >::SingleState

Definition at line 22 of file MultiGaussianState.h.

◆ SingleStateContainer

template<unsigned int N>
typedef std::vector<SingleStatePtr> MultiGaussianState< N >::SingleStateContainer

Definition at line 25 of file MultiGaussianState.h.

◆ SingleStatePtr

template<unsigned int N>
typedef std::shared_ptr<SingleState> MultiGaussianState< N >::SingleStatePtr

Definition at line 23 of file MultiGaussianState.h.

◆ Vector

template<unsigned int N>
typedef SingleGaussianState<N>::Vector MultiGaussianState< N >::Vector

Definition at line 20 of file MultiGaussianState.h.

Constructor & Destructor Documentation

◆ MultiGaussianState() [1/2]

template<unsigned int N>
MultiGaussianState< N >::MultiGaussianState ( )
inline

Definition at line 28 of file MultiGaussianState.h.

28  : theCombinedStateUp2Date(false) {
29  // ++instances_;++maxInstances_;
30  // std::cout << "MultiGaussianState() " << N << " " << instances_ << std::endl;
31  }

◆ MultiGaussianState() [2/2]

template<unsigned int N>
MultiGaussianState< N >::MultiGaussianState ( const SingleStateContainer stateV)
inline

Definition at line 33 of file MultiGaussianState.h.

33  : theComponents(stateV), theCombinedStateUp2Date(false) {
34  // theComponents[0]->rescaleWeight(1.);
35  // ++instances_;++maxInstances_;
36  // std::cout << "MultiGaussianState(const SingleStateContainer&) " << N << " "
37  // << instances_ << std::endl;
38  }

◆ ~MultiGaussianState()

template<unsigned int N>
MultiGaussianState< N >::~MultiGaussianState ( )
inline

Definition at line 48 of file MultiGaussianState.h.

48  {
49  // --instances_;
50  // std::cout << "~MultiGaussianState " << N << " " << instances_ << std::endl;
51  }