#include <bsta_adaptive_updater.h>
Inheritance diagram for bsta_mg_grimson_weighted_updater< mix_dist_ >:

Using the grimson approximation to prior probablilities
Definition at line 277 of file bsta_adaptive_updater.h.
Public Types | |
| enum | { data_dimension = gaussian_::dimension } |
| typedef mix_dist_::dist_type | obs_gaussian_ |
| typedef obs_gaussian_::contained_type | gaussian_ |
| typedef gaussian_::math_type | T |
| typedef gaussian_::vector_type | vector_ |
| typedef bsta_num_obs< mix_dist_ > | obs_mix_dist_ |
| typedef obs_mix_dist_ | distribution_type |
| for compatiblity with vpdl/vpdt. | |
Public Member Functions | |
| bsta_mg_grimson_weighted_updater (const gaussian_ &model, unsigned int max_cmp=5, T g_thresh=T(3), T min_stdev=T(0)) | |
| Constructor. | |
| void | operator() (obs_mix_dist_ &mix, const vector_ &sample, const T weight) const |
| The main function. | |
Private Types | |
| enum | { data_dimension = gaussian_::dimension } |
| typedef gaussian_::field_type | field_type |
| for compatiblity with vpdl/vpdt. | |
Private Member Functions | |
| void | operator() (obs_mix_dist_ &mix, const vector_ &sample) const |
| The main function. | |
| void | update (mix_dist_ &mix, const vector_ &sample, T alpha) const |
| The main function. | |
| void | insert (mix_dist_ &mixture, const vector_ &sample, T init_weight) const |
| insert a sample in the mixture. | |
Private Attributes | |
| T | gt2_ |
| Squared Gaussian Mahalanobis distance threshold. | |
| T | min_var_ |
| Minimum variance allowed in each Gaussian component. | |
| obs_gaussian_ | init_gaussian_ |
| A model for new Gaussians inserted. | |
| unsigned int | max_components_ |
| The maximum number of components in the mixture. | |
| typedef mix_dist_::dist_type bsta_mg_grimson_weighted_updater< mix_dist_ >::obs_gaussian_ |
Reimplemented from bsta_mg_grimson_statistical_updater< mix_dist_ >.
Definition at line 280 of file bsta_adaptive_updater.h.
| typedef obs_gaussian_::contained_type bsta_mg_grimson_weighted_updater< mix_dist_ >::gaussian_ |
Reimplemented from bsta_mg_grimson_statistical_updater< mix_dist_ >.
Definition at line 281 of file bsta_adaptive_updater.h.
| typedef gaussian_::math_type bsta_mg_grimson_weighted_updater< mix_dist_ >::T |
Reimplemented from bsta_mg_grimson_statistical_updater< mix_dist_ >.
Definition at line 282 of file bsta_adaptive_updater.h.
| typedef gaussian_::vector_type bsta_mg_grimson_weighted_updater< mix_dist_ >::vector_ |
Reimplemented from bsta_mg_grimson_statistical_updater< mix_dist_ >.
Definition at line 283 of file bsta_adaptive_updater.h.
| typedef bsta_num_obs<mix_dist_> bsta_mg_grimson_weighted_updater< mix_dist_ >::obs_mix_dist_ |
Reimplemented from bsta_mg_grimson_statistical_updater< mix_dist_ >.
Definition at line 284 of file bsta_adaptive_updater.h.
| typedef obs_mix_dist_ bsta_mg_grimson_weighted_updater< mix_dist_ >::distribution_type |
for compatiblity with vpdl/vpdt.
Reimplemented from bsta_mg_grimson_statistical_updater< mix_dist_ >.
Definition at line 287 of file bsta_adaptive_updater.h.
typedef gaussian_::field_type bsta_mg_adaptive_updater< mix_dist_ >::field_type [inherited] |
| anonymous enum |
anonymous enum [inherited] |
| bsta_mg_grimson_weighted_updater< mix_dist_ >::bsta_mg_grimson_weighted_updater | ( | const gaussian_ & | model, | |
| unsigned int | max_cmp = 5, |
|||
| T | g_thresh = T(3), |
|||
| T | min_stdev = T(0) | |||
| ) | [inline] |
| void bsta_mg_grimson_weighted_updater< mix_dist_ >::operator() | ( | obs_mix_dist_ & | mix, | |
| const vector_ & | sample, | |||
| const T | weight | |||
| ) | const [inline] |
| void bsta_mg_grimson_statistical_updater< mix_dist_ >::operator() | ( | obs_mix_dist_ & | mix, | |
| const vector_ & | sample | |||
| ) | const [inline, inherited] |
The main function.
Reimplemented in bsta_mg_grimson_window_updater< mix_dist_ >.
Definition at line 222 of file bsta_adaptive_updater.h.
| void bsta_mg_grimson_statistical_updater< mix_dist_ >::update | ( | mix_dist_ & | mix, | |
| const vector_ & | sample, | |||
| T | alpha | |||
| ) | const [inherited] |
| void bsta_mg_adaptive_updater< mix_dist_ >::insert | ( | mix_dist_ & | mixture, | |
| const vector_ & | sample, | |||
| T | init_weight | |||
| ) | const [inline, protected, inherited] |
T bsta_mg_grimson_statistical_updater< mix_dist_ >::gt2_ [inherited] |
Squared Gaussian Mahalanobis distance threshold.
Definition at line 231 of file bsta_adaptive_updater.h.
T bsta_mg_grimson_statistical_updater< mix_dist_ >::min_var_ [inherited] |
Minimum variance allowed in each Gaussian component.
Definition at line 233 of file bsta_adaptive_updater.h.
obs_gaussian_ bsta_mg_adaptive_updater< mix_dist_ >::init_gaussian_ [mutable, protected, inherited] |
unsigned int bsta_mg_adaptive_updater< mix_dist_ >::max_components_ [protected, inherited] |
The maximum number of components in the mixture.
Definition at line 78 of file bsta_adaptive_updater.h.
1.5.1