#include <bsta_bayes_functor.h>
Definition at line 56 of file bsta_bayes_functor.h.
Public Types | |
| enum | { return_dim = comp_dist_::dimension } |
| typedef vector_ | return_T |
Public Member Functions | |
| bsta_mixture_prob_functor (bool normalize=true, unsigned int num_cmps=3) | |
| bool | operator() (const mix_dist_ &mix, const vector_ &sample, return_T &result) const |
| The main function. | |
Protected Attributes | |
| unsigned int | num_cmps_ |
| bool | normalize_ |
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_ |
typedef bsta_num_obs<comp_dist_> bsta_mixture_prob_functor< comp_dist_ >::comp_obs_dist_ [private] |
Definition at line 59 of file bsta_bayes_functor.h.
typedef bsta_mixture<comp_obs_dist_> bsta_mixture_prob_functor< comp_dist_ >::mix_dist_ [private] |
Definition at line 60 of file bsta_bayes_functor.h.
typedef comp_dist_::math_type bsta_mixture_prob_functor< comp_dist_ >::T [private] |
Definition at line 61 of file bsta_bayes_functor.h.
typedef vnl_vector_fixed<T,comp_dist_::dimension> bsta_mixture_prob_functor< comp_dist_ >::vector_ [private] |
Definition at line 62 of file bsta_bayes_functor.h.
| typedef vector_ bsta_mixture_prob_functor< comp_dist_ >::return_T |
Definition at line 65 of file bsta_bayes_functor.h.
| anonymous enum |
| bsta_mixture_prob_functor< comp_dist_ >::bsta_mixture_prob_functor | ( | bool | normalize = true, |
|
| unsigned int | num_cmps = 3 | |||
| ) | [inline] |
Definition at line 68 of file bsta_bayes_functor.h.
| bool bsta_mixture_prob_functor< comp_dist_ >::operator() | ( | const mix_dist_ & | mix, | |
| const vector_ & | sample, | |||
| return_T & | result | |||
| ) | const [inline] |
unsigned int bsta_mixture_prob_functor< comp_dist_ >::num_cmps_ [protected] |
Definition at line 103 of file bsta_bayes_functor.h.
bool bsta_mixture_prob_functor< comp_dist_ >::normalize_ [protected] |
Definition at line 104 of file bsta_bayes_functor.h.
1.5.1