Public Types | Public Member Functions | Public Attributes | Private Types
bsta_gaussian_window_updater< gauss_ > Class Template Reference

An updater for updating Gaussian distributions with a moving window. More...

#include <bsta_gaussian_updater.h>

List of all members.

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_

Detailed Description

template<class gauss_>
class bsta_gaussian_window_updater< gauss_ >

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.


Member Typedef Documentation

template<class gauss_ >
typedef gauss_ bsta_gaussian_window_updater< gauss_ >::distribution_type

Definition at line 259 of file bsta_gaussian_updater.h.

template<class gauss_ >
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.

template<class gauss_ >
typedef bsta_num_obs<gauss_> bsta_gaussian_window_updater< gauss_ >::obs_gauss_ [private]

Definition at line 252 of file bsta_gaussian_updater.h.

template<class gauss_ >
typedef gauss_::math_type bsta_gaussian_window_updater< gauss_ >::T [private]

Definition at line 253 of file bsta_gaussian_updater.h.

template<class gauss_ >
typedef vnl_vector_fixed<T,gauss_::dimension> bsta_gaussian_window_updater< gauss_ >::vector_ [private]

Definition at line 254 of file bsta_gaussian_updater.h.


Constructor & Destructor Documentation

template<class gauss_ >
bsta_gaussian_window_updater< gauss_ >::bsta_gaussian_window_updater ( unsigned int  ws) [inline]

Constructor.

Definition at line 263 of file bsta_gaussian_updater.h.


Member Function Documentation

template<class gauss_ >
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.


Member Data Documentation

template<class gauss_ >
unsigned int bsta_gaussian_window_updater< gauss_ >::window_size

Definition at line 274 of file bsta_gaussian_updater.h.


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