A parzen window (kernel) updater. More...
#include <bsta_parzen_updater.h>
Public Types | |
enum | { data_dimension = parzen_dist_::dimension } |
typedef parzen_dist_::math_type | T |
typedef parzen_dist_::vector_type | vector_ |
typedef parzen_dist_::field_type | field_type |
for compatibility with vpdl/vpdt. | |
Public Member Functions | |
bsta_parzen_updater (T tol, unsigned max_samples) | |
void | operator() (parzen_dist_ &pdist, const vector_ &sample) const |
The update functor. | |
Private Attributes | |
T | tol_ |
unsigned | max_samples_ |
A parzen window (kernel) updater.
If a new sample is within tol of the existing samples then don't insert. Otherwise if max number of samples is reached, replace the nearest sample.
Definition at line 30 of file bsta_parzen_updater.h.
typedef parzen_dist_::field_type bsta_parzen_updater< parzen_dist_ >::field_type |
for compatibility with vpdl/vpdt.
Definition at line 38 of file bsta_parzen_updater.h.
typedef parzen_dist_::math_type bsta_parzen_updater< parzen_dist_ >::T |
Definition at line 33 of file bsta_parzen_updater.h.
typedef parzen_dist_::vector_type bsta_parzen_updater< parzen_dist_ >::vector_ |
Definition at line 34 of file bsta_parzen_updater.h.
anonymous enum |
Definition at line 35 of file bsta_parzen_updater.h.
bsta_parzen_updater< parzen_dist_ >::bsta_parzen_updater | ( | T | tol, |
unsigned | max_samples | ||
) | [inline] |
Definition at line 41 of file bsta_parzen_updater.h.
void bsta_parzen_updater< parzen_dist_ >::operator() | ( | parzen_dist_ & | pdist, |
const vector_ & | sample | ||
) | const |
The update functor.
unsigned bsta_parzen_updater< parzen_dist_ >::max_samples_ [private] |
Definition at line 48 of file bsta_parzen_updater.h.
T bsta_parzen_updater< parzen_dist_ >::tol_ [private] |
Definition at line 47 of file bsta_parzen_updater.h.