A functor that classifies a sample as one of the components of the mixture. More...
#include <bsta_bayes_functor.h>
Public Types | |
enum | { return_dim = 1 } |
typedef int | return_T |
Public Member Functions | |
bool | operator() (const mix_dist_ &mix, const vector_ &sample, return_T &best_index) const |
The main function. | |
Private Types | |
typedef bsta_num_obs< comp_dist_ > | comp_obs_dist_ |
typedef bsta_mixture < comp_obs_dist_ > | mix_dist_ |
typedef comp_dist_::math_type | T |
typedef vnl_vector_fixed< T, comp_dist_::dimension > | vector_ |
A functor that classifies a sample as one of the components of the mixture.
Definition at line 21 of file bsta_bayes_functor.h.
typedef bsta_num_obs<comp_dist_> bsta_bayes_functor< comp_dist_ >::comp_obs_dist_ [private] |
Definition at line 24 of file bsta_bayes_functor.h.
typedef bsta_mixture<comp_obs_dist_> bsta_bayes_functor< comp_dist_ >::mix_dist_ [private] |
Definition at line 25 of file bsta_bayes_functor.h.
typedef int bsta_bayes_functor< comp_dist_ >::return_T |
Definition at line 30 of file bsta_bayes_functor.h.
typedef comp_dist_::math_type bsta_bayes_functor< comp_dist_ >::T [private] |
Definition at line 26 of file bsta_bayes_functor.h.
typedef vnl_vector_fixed<T,comp_dist_::dimension> bsta_bayes_functor< comp_dist_ >::vector_ [private] |
Definition at line 27 of file bsta_bayes_functor.h.
anonymous enum |
Definition at line 31 of file bsta_bayes_functor.h.
bool bsta_bayes_functor< comp_dist_ >::operator() | ( | const mix_dist_ & | mix, |
const vector_ & | sample, | ||
return_T & | best_index | ||
) | const [inline] |
The main function.
Definition at line 34 of file bsta_bayes_functor.h.