Public Types | Public Member Functions | Protected Attributes
bsta_truth_updater< dist_, updater_ > Class Template Reference

An updater for ground truth mixtures. More...

#include <bsta_truth_updater.h>

List of all members.

Public Types

enum  { data_dimension = dist_::dimension+1 }
typedef dist_::math_type T
typedef dist_::vector_type sub_vector_
typedef vnl_vector_fixed< T,
dist_::dimension+1 > 
vector_
typedef vector_ field_type
 for compatibility with vpdl/vpdt.
typedef dist_ distribution_type

Public Member Functions

 bsta_truth_updater (const dist_ &model, const updater_ &updater)
void operator() (bsta_mixture< dist_ > &mixture, const vector_ &sample) const
 The main function.

Protected Attributes

dist_ model_dist_
 A model for new distributions inserted.
updater_ updater_mbr_
 The updater applied to the components.

Detailed Description

template<class dist_, class updater_>
class bsta_truth_updater< dist_, updater_ >

An updater for ground truth mixtures.

Definition at line 21 of file bsta_truth_updater.h.


Member Typedef Documentation

template<class dist_ , class updater_ >
typedef dist_ bsta_truth_updater< dist_, updater_ >::distribution_type

Definition at line 30 of file bsta_truth_updater.h.

template<class dist_ , class updater_ >
typedef vector_ bsta_truth_updater< dist_, updater_ >::field_type

for compatibility with vpdl/vpdt.

Definition at line 29 of file bsta_truth_updater.h.

template<class dist_ , class updater_ >
typedef dist_::vector_type bsta_truth_updater< dist_, updater_ >::sub_vector_

Definition at line 25 of file bsta_truth_updater.h.

template<class dist_ , class updater_ >
typedef dist_::math_type bsta_truth_updater< dist_, updater_ >::T

Definition at line 24 of file bsta_truth_updater.h.

template<class dist_ , class updater_ >
typedef vnl_vector_fixed<T,dist_::dimension+1> bsta_truth_updater< dist_, updater_ >::vector_

Definition at line 26 of file bsta_truth_updater.h.


Member Enumeration Documentation

template<class dist_ , class updater_ >
anonymous enum
Enumerator:
data_dimension 

Definition at line 33 of file bsta_truth_updater.h.


Constructor & Destructor Documentation

template<class dist_ , class updater_ >
bsta_truth_updater< dist_, updater_ >::bsta_truth_updater ( const dist_ &  model,
const updater_ &  updater 
) [inline]

Definition at line 35 of file bsta_truth_updater.h.


Member Function Documentation

template<class dist_ , class updater_ >
void bsta_truth_updater< dist_, updater_ >::operator() ( bsta_mixture< dist_ > &  mixture,
const vector_ sample 
) const [inline]

The main function.

Definition at line 39 of file bsta_truth_updater.h.


Member Data Documentation

template<class dist_ , class updater_ >
dist_ bsta_truth_updater< dist_, updater_ >::model_dist_ [protected]

A model for new distributions inserted.

Definition at line 56 of file bsta_truth_updater.h.

template<class dist_ , class updater_ >
updater_ bsta_truth_updater< dist_, updater_ >::updater_mbr_ [protected]

The updater applied to the components.

Definition at line 59 of file bsta_truth_updater.h.


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