An updater for updating Gaussian distributions with a moving window. More...
#include <bsta_gaussian_updater.h>
Public Types | |
typedef gauss_::field_type | field_type |
for compatibility with vpdl/vpdt. | |
typedef gauss_ | distribution_type |
Public Member Functions | |
bsta_gaussian_window_updater (unsigned int ws) | |
Constructor. | |
void | operator() (obs_gauss_ &d, const vector_ &sample) const |
The main function. | |
Public Attributes | |
unsigned int | window_size |
Private Types | |
typedef bsta_num_obs< gauss_ > | obs_gauss_ |
typedef gauss_::math_type | T |
typedef vnl_vector_fixed< T, gauss_::dimension > | vector_ |
An updater for updating Gaussian distributions with a moving window.
When the number of samples exceeds the window size the most recent samples contribute more toward the distribution.
Definition at line 250 of file bsta_gaussian_updater.h.
typedef gauss_ bsta_gaussian_window_updater< gauss_ >::distribution_type |
Definition at line 259 of file bsta_gaussian_updater.h.
typedef gauss_::field_type bsta_gaussian_window_updater< gauss_ >::field_type |
for compatibility with vpdl/vpdt.
Definition at line 258 of file bsta_gaussian_updater.h.
typedef bsta_num_obs<gauss_> bsta_gaussian_window_updater< gauss_ >::obs_gauss_ [private] |
Definition at line 252 of file bsta_gaussian_updater.h.
typedef gauss_::math_type bsta_gaussian_window_updater< gauss_ >::T [private] |
Definition at line 253 of file bsta_gaussian_updater.h.
typedef vnl_vector_fixed<T,gauss_::dimension> bsta_gaussian_window_updater< gauss_ >::vector_ [private] |
Definition at line 254 of file bsta_gaussian_updater.h.
bsta_gaussian_window_updater< gauss_ >::bsta_gaussian_window_updater | ( | unsigned int | ws | ) | [inline] |
Constructor.
Definition at line 263 of file bsta_gaussian_updater.h.
void bsta_gaussian_window_updater< gauss_ >::operator() | ( | obs_gauss_ & | d, |
const vector_ & | sample | ||
) | const [inline] |
The main function.
make the appropriate type casts and call a helper function
Definition at line 267 of file bsta_gaussian_updater.h.
unsigned int bsta_gaussian_window_updater< gauss_ >::window_size |
Definition at line 274 of file bsta_gaussian_updater.h.