Public Types | Protected Member Functions | Protected Attributes | Private Types
bsta_mg_adaptive_updater< mix_dist_ > Class Template Reference

A mixture of Gaussians adaptive updater. More...

#include <bsta_adaptive_updater.h>

Inheritance diagram for bsta_mg_adaptive_updater< mix_dist_ >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef gaussian_::field_type field_type
 for compatibility with vpdl/vpdt.
typedef mix_dist_ distribution_type

Protected Member Functions

 bsta_mg_adaptive_updater (const gaussian_ &model, unsigned int max_cmp=5)
 Constructor.
void insert (mix_dist_ &mixture, const vector_ &sample, T init_weight) const
 insert a sample in the mixture.

Protected Attributes

obs_gaussian_ init_gaussian_
 A model for new Gaussians inserted.
unsigned int max_components_
 The maximum number of components in the mixture.

Private Types

typedef mix_dist_::dist_type obs_gaussian_
typedef
obs_gaussian_::contained_type 
gaussian_
typedef gaussian_::math_type T
typedef gaussian_::vector_type vector_

Detailed Description

template<class mix_dist_>
class bsta_mg_adaptive_updater< mix_dist_ >

A mixture of Gaussians adaptive updater.

Base class for common functionality in adaptive updating schemes

Definition at line 31 of file bsta_adaptive_updater.h.


Member Typedef Documentation

template<class mix_dist_ >
typedef mix_dist_ bsta_mg_adaptive_updater< mix_dist_ >::distribution_type
template<class mix_dist_ >
typedef gaussian_::field_type bsta_mg_adaptive_updater< mix_dist_ >::field_type

for compatibility with vpdl/vpdt.

Definition at line 41 of file bsta_adaptive_updater.h.

template<class mix_dist_ >
typedef obs_gaussian_::contained_type bsta_mg_adaptive_updater< mix_dist_ >::gaussian_ [private]
template<class mix_dist_ >
typedef mix_dist_::dist_type bsta_mg_adaptive_updater< mix_dist_ >::obs_gaussian_ [private]
template<class mix_dist_ >
typedef gaussian_::math_type bsta_mg_adaptive_updater< mix_dist_ >::T [private]
template<class mix_dist_ >
typedef gaussian_::vector_type bsta_mg_adaptive_updater< mix_dist_ >::vector_ [private]

Constructor & Destructor Documentation

template<class mix_dist_ >
bsta_mg_adaptive_updater< mix_dist_ >::bsta_mg_adaptive_updater ( const gaussian_ model,
unsigned int  max_cmp = 5 
) [inline, protected]

Constructor.

Definition at line 46 of file bsta_adaptive_updater.h.


Member Function Documentation

template<class mix_dist_ >
void bsta_mg_adaptive_updater< mix_dist_ >::insert ( mix_dist_ &  mixture,
const vector_ sample,
T  init_weight 
) const [inline, protected]

insert a sample in the mixture.

Definition at line 52 of file bsta_adaptive_updater.h.


Member Data Documentation

template<class mix_dist_ >
obs_gaussian_ bsta_mg_adaptive_updater< mix_dist_ >::init_gaussian_ [mutable, protected]

A model for new Gaussians inserted.

Definition at line 81 of file bsta_adaptive_updater.h.

template<class mix_dist_ >
unsigned int bsta_mg_adaptive_updater< mix_dist_ >::max_components_ [protected]

The maximum number of components in the mixture.

Definition at line 83 of file bsta_adaptive_updater.h.


The documentation for this class was generated from the following file: