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. | |
| typedef parzen_dist_ | distribution_type | 
| Public Member Functions | |
| bsta_parzen_adapt_bw_updater (T tol, unsigned max_samples, T frac_backgnd=T(1)) | |
| void | operator() (parzen_dist_ &pdist, const vector_ &sample) const | 
| The update functor. | |
| Private Attributes | |
| T | tol_ | 
| unsigned | max_samples_ | 
| T | frac_background_ | 
A parzen window (kernel) updater.
If a new sample is within tol of the existing samples then don't insert. Otherwise if maximum number of samples has been reached, then compute a new bandwidth estimate based on the most probable fraction of the existing samples.
Definition at line 57 of file bsta_parzen_updater.h.
| typedef parzen_dist_ bsta_parzen_adapt_bw_updater< parzen_dist_ >::distribution_type | 
Definition at line 66 of file bsta_parzen_updater.h.
| typedef parzen_dist_::field_type bsta_parzen_adapt_bw_updater< parzen_dist_ >::field_type | 
for compatibility with vpdl/vpdt.
Definition at line 65 of file bsta_parzen_updater.h.
| typedef parzen_dist_::math_type bsta_parzen_adapt_bw_updater< parzen_dist_ >::T | 
Definition at line 60 of file bsta_parzen_updater.h.
| typedef parzen_dist_::vector_type bsta_parzen_adapt_bw_updater< parzen_dist_ >::vector_ | 
Definition at line 61 of file bsta_parzen_updater.h.
| anonymous enum | 
Definition at line 62 of file bsta_parzen_updater.h.
| bsta_parzen_adapt_bw_updater< parzen_dist_ >::bsta_parzen_adapt_bw_updater | ( | T | tol, | 
| unsigned | max_samples, | ||
| T | frac_backgnd = T(1) | ||
| ) |  [inline] | 
Definition at line 70 of file bsta_parzen_updater.h.
| void bsta_parzen_adapt_bw_updater< parzen_dist_ >::operator() | ( | parzen_dist_ & | pdist, | 
| const vector_ & | sample | ||
| ) | const | 
The update functor.
| T bsta_parzen_adapt_bw_updater< parzen_dist_ >::frac_background_  [private] | 
Definition at line 80 of file bsta_parzen_updater.h.
| unsigned bsta_parzen_adapt_bw_updater< parzen_dist_ >::max_samples_  [private] | 
Definition at line 79 of file bsta_parzen_updater.h.
| T bsta_parzen_adapt_bw_updater< parzen_dist_ >::tol_  [private] | 
Definition at line 78 of file bsta_parzen_updater.h.
 1.7.5.1
 1.7.5.1