bsta_mg_adaptive_updater< mix_dist_ > Class Template Reference

#include <bsta_adaptive_updater.h>

Inheritance diagram for bsta_mg_adaptive_updater< mix_dist_ >:

bsta_mg_grimson_statistical_updater< mix_dist_ > bsta_mg_statistical_updater< mix_dist_ > bsta_mg_grimson_weighted_updater< mix_dist_ > bsta_mg_grimson_window_updater< mix_dist_ > bsta_mg_weighted_updater< mix_dist_ > bsta_mg_window_updater< mix_dist_ > List of all members.

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.


Public Types

typedef gaussian_::field_type field_type
 for compatiblity 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_

Member Typedef Documentation

template<class mix_dist_>
typedef mix_dist_::dist_type bsta_mg_adaptive_updater< mix_dist_ >::obs_gaussian_ [private]

Reimplemented in bsta_mg_statistical_updater< mix_dist_ >, bsta_mg_window_updater< mix_dist_ >, bsta_mg_weighted_updater< mix_dist_ >, bsta_mg_grimson_statistical_updater< mix_dist_ >, bsta_mg_grimson_window_updater< mix_dist_ >, and bsta_mg_grimson_weighted_updater< mix_dist_ >.

Definition at line 34 of file bsta_adaptive_updater.h.

template<class mix_dist_>
typedef obs_gaussian_::contained_type bsta_mg_adaptive_updater< mix_dist_ >::gaussian_ [private]

Reimplemented in bsta_mg_statistical_updater< mix_dist_ >, bsta_mg_window_updater< mix_dist_ >, bsta_mg_weighted_updater< mix_dist_ >, bsta_mg_grimson_statistical_updater< mix_dist_ >, bsta_mg_grimson_window_updater< mix_dist_ >, and bsta_mg_grimson_weighted_updater< mix_dist_ >.

Definition at line 35 of file bsta_adaptive_updater.h.

template<class mix_dist_>
typedef gaussian_::math_type bsta_mg_adaptive_updater< mix_dist_ >::T [private]

Reimplemented in bsta_mg_statistical_updater< mix_dist_ >, bsta_mg_window_updater< mix_dist_ >, bsta_mg_weighted_updater< mix_dist_ >, bsta_mg_grimson_statistical_updater< mix_dist_ >, bsta_mg_grimson_window_updater< mix_dist_ >, and bsta_mg_grimson_weighted_updater< mix_dist_ >.

Definition at line 36 of file bsta_adaptive_updater.h.

template<class mix_dist_>
typedef gaussian_::vector_type bsta_mg_adaptive_updater< mix_dist_ >::vector_ [private]

Reimplemented in bsta_mg_statistical_updater< mix_dist_ >, bsta_mg_window_updater< mix_dist_ >, bsta_mg_weighted_updater< mix_dist_ >, bsta_mg_grimson_statistical_updater< mix_dist_ >, bsta_mg_grimson_window_updater< mix_dist_ >, and bsta_mg_grimson_weighted_updater< mix_dist_ >.

Definition at line 37 of file bsta_adaptive_updater.h.

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

for compatiblity with vpdl/vpdt.

Definition at line 41 of file bsta_adaptive_updater.h.

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

Reimplemented in bsta_mg_statistical_updater< mix_dist_ >, bsta_mg_window_updater< mix_dist_ >, bsta_mg_weighted_updater< mix_dist_ >, bsta_mg_grimson_statistical_updater< mix_dist_ >, bsta_mg_grimson_window_updater< mix_dist_ >, and bsta_mg_grimson_weighted_updater< mix_dist_ >.

Definition at line 42 of file bsta_adaptive_updater.h.


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 76 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 78 of file bsta_adaptive_updater.h.


The documentation for this class was generated from the following file:
Generated on Mon Mar 8 05:30:34 2010 for contrib/brl/bbas/bsta by  doxygen 1.5.1