An updater for ground truth mixtures. More...
#include <bsta_truth_updater.h>
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. |
An updater for ground truth mixtures.
Definition at line 21 of file bsta_truth_updater.h.
typedef dist_ bsta_truth_updater< dist_, updater_ >::distribution_type |
Definition at line 30 of file bsta_truth_updater.h.
typedef vector_ bsta_truth_updater< dist_, updater_ >::field_type |
for compatibility with vpdl/vpdt.
Definition at line 29 of file bsta_truth_updater.h.
typedef dist_::vector_type bsta_truth_updater< dist_, updater_ >::sub_vector_ |
Definition at line 25 of file bsta_truth_updater.h.
typedef dist_::math_type bsta_truth_updater< dist_, updater_ >::T |
Definition at line 24 of file bsta_truth_updater.h.
typedef vnl_vector_fixed<T,dist_::dimension+1> bsta_truth_updater< dist_, updater_ >::vector_ |
Definition at line 26 of file bsta_truth_updater.h.
anonymous enum |
Definition at line 33 of file bsta_truth_updater.h.
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.
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.
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.
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.