Public Types | Public Member Functions | Private Attributes
bsta_parzen_updater< parzen_dist_ > Class Template Reference

A parzen window (kernel) updater. More...

#include <bsta_parzen_updater.h>

List of all members.

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_

Detailed Description

template<class parzen_dist_>
class bsta_parzen_updater< parzen_dist_ >

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.


Member Typedef Documentation

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

template<class parzen_dist_>
typedef parzen_dist_::math_type bsta_parzen_updater< parzen_dist_ >::T

Definition at line 33 of file bsta_parzen_updater.h.

template<class parzen_dist_>
typedef parzen_dist_::vector_type bsta_parzen_updater< parzen_dist_ >::vector_

Definition at line 34 of file bsta_parzen_updater.h.


Member Enumeration Documentation

template<class parzen_dist_>
anonymous enum
Enumerator:
data_dimension 

Definition at line 35 of file bsta_parzen_updater.h.


Constructor & Destructor Documentation

template<class parzen_dist_>
bsta_parzen_updater< parzen_dist_ >::bsta_parzen_updater ( T  tol,
unsigned  max_samples 
) [inline]

Definition at line 41 of file bsta_parzen_updater.h.


Member Function Documentation

template<class parzen_dist_>
void bsta_parzen_updater< parzen_dist_ >::operator() ( parzen_dist_ &  pdist,
const vector_ sample 
) const

The update functor.


Member Data Documentation

template<class parzen_dist_>
unsigned bsta_parzen_updater< parzen_dist_ >::max_samples_ [private]

Definition at line 48 of file bsta_parzen_updater.h.

template<class parzen_dist_>
T bsta_parzen_updater< parzen_dist_ >::tol_ [private]

Definition at line 47 of file bsta_parzen_updater.h.


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