Public Types | Public Member Functions | Private Member Functions | Private Attributes
bsta_von_mises_updater< von_mises_dist_ > Class Template Reference

A von_mises window updater based on samples of the space of unit vectors. More...

#include <bsta_von_mises_updater.h>

List of all members.

Public Types

enum  { data_dimension = von_mises_dist_::data_dimension }
typedef von_mises_dist_::math_type math_t
typedef
von_mises_dist_::vector_type 
vect_t
typedef bsta_vsum_num_obs
< von_mises_dist_ > 
obs_vm_dist_
typedef obs_vm_dist_ distribution_type
 for compatibility with vpdl/vpdt.
typedef von_mises_dist_::field_type field_type
 for compatibility with vpdl/vpdt.

Public Member Functions

 bsta_von_mises_updater (math_t kappa=math_t(10000))
void operator() (obs_vm_dist_ &pdist, const vect_t &sample) const
 The update functor assuming standard learning rate.
void operator() (obs_vm_dist_ &pdist, const vect_t &sample, math_t alpha) const
 The update functor with a learning rate specified.

Private Member Functions

void update (obs_vm_dist_ &pdist, const vect_t &vsum, math_t alpha) const
 The main function.

Private Attributes

math_t initial_kappa_

Detailed Description

template<class von_mises_dist_>
class bsta_von_mises_updater< von_mises_dist_ >

A von_mises window updater based on samples of the space of unit vectors.

Implemented only for vector dimensions 2 and 3.

Definition at line 31 of file bsta_von_mises_updater.h.


Member Typedef Documentation

template<class von_mises_dist_ >
typedef obs_vm_dist_ bsta_von_mises_updater< von_mises_dist_ >::distribution_type

for compatibility with vpdl/vpdt.

Definition at line 38 of file bsta_von_mises_updater.h.

template<class von_mises_dist_ >
typedef von_mises_dist_::field_type bsta_von_mises_updater< von_mises_dist_ >::field_type

for compatibility with vpdl/vpdt.

Definition at line 41 of file bsta_von_mises_updater.h.

template<class von_mises_dist_ >
typedef von_mises_dist_::math_type bsta_von_mises_updater< von_mises_dist_ >::math_t

Definition at line 34 of file bsta_von_mises_updater.h.

template<class von_mises_dist_ >
typedef bsta_vsum_num_obs<von_mises_dist_> bsta_von_mises_updater< von_mises_dist_ >::obs_vm_dist_

Definition at line 36 of file bsta_von_mises_updater.h.

template<class von_mises_dist_ >
typedef von_mises_dist_::vector_type bsta_von_mises_updater< von_mises_dist_ >::vect_t

Definition at line 35 of file bsta_von_mises_updater.h.


Member Enumeration Documentation

template<class von_mises_dist_ >
anonymous enum
Enumerator:
data_dimension 

Definition at line 39 of file bsta_von_mises_updater.h.


Constructor & Destructor Documentation

template<class von_mises_dist_ >
bsta_von_mises_updater< von_mises_dist_ >::bsta_von_mises_updater ( math_t  kappa = math_t(10000)) [inline]

Definition at line 45 of file bsta_von_mises_updater.h.


Member Function Documentation

template<class von_mises_dist_ >
void bsta_von_mises_updater< von_mises_dist_ >::operator() ( obs_vm_dist_ pdist,
const vect_t sample 
) const [inline]

The update functor assuming standard learning rate.

Definition at line 49 of file bsta_von_mises_updater.h.

template<class von_mises_dist_ >
void bsta_von_mises_updater< von_mises_dist_ >::operator() ( obs_vm_dist_ pdist,
const vect_t sample,
math_t  alpha 
) const [inline]

The update functor with a learning rate specified.

Definition at line 55 of file bsta_von_mises_updater.h.

template<class von_mises_dist_ >
void bsta_von_mises_updater< von_mises_dist_ >::update ( obs_vm_dist_ pdist,
const vect_t vsum,
math_t  alpha 
) const [private]

The main function.

Definition at line 12 of file bsta_von_mises_updater.txx.


Member Data Documentation

template<class von_mises_dist_ >
math_t bsta_von_mises_updater< von_mises_dist_ >::initial_kappa_ [private]

Definition at line 62 of file bsta_von_mises_updater.h.


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