A functor to return the weight of the component with given index. More...
#include <bsta_basic_functors.h>
Classes | |
struct | rebind |
rebind this functor to another distribution type. More... | |
Public Types | |
enum | { return_dim = 1 } |
typedef mixture_::math_type | T |
typedef T | return_T |
typedef return_T | return_type |
Public Member Functions | |
bsta_weight_functor (unsigned int index=0) | |
Constructor. | |
bool | operator() (const mixture_ &mix, return_T &retval) const |
The main function. | |
Static Public Attributes | |
static const bool | valid_functor = false |
is this functor valid for its distribution type. |
A functor to return the weight of the component with given index.
"Disambiguate" is for compatibility with vpdl/vpdt.
Definition at line 337 of file bsta_basic_functors.h.
typedef T bsta_weight_functor< mixture_, Disambiguate >::return_T |
Definition at line 341 of file bsta_basic_functors.h.
typedef return_T bsta_weight_functor< mixture_, Disambiguate >::return_type |
Definition at line 342 of file bsta_basic_functors.h.
typedef mixture_::math_type bsta_weight_functor< mixture_, Disambiguate >::T |
Definition at line 340 of file bsta_basic_functors.h.
anonymous enum |
Definition at line 343 of file bsta_basic_functors.h.
bsta_weight_functor< mixture_, Disambiguate >::bsta_weight_functor | ( | unsigned int | index = 0 | ) | [inline] |
Constructor.
Definition at line 354 of file bsta_basic_functors.h.
bool bsta_weight_functor< mixture_, Disambiguate >::operator() | ( | const mixture_ & | mix, |
return_T & | retval | ||
) | const [inline] |
The main function.
Definition at line 357 of file bsta_basic_functors.h.
const bool bsta_weight_functor< mixture_, Disambiguate >::valid_functor = false [static] |
is this functor valid for its distribution type.
Definition at line 345 of file bsta_basic_functors.h.