A functor to return the number of components in a mixture. More...
#include <vpdt_mixture_accessors.h>
Classes | |
struct | rebind |
rebind this functor to another distribution type. More... | |
Public Types | |
typedef unsigned int | return_type |
the functor return type. | |
typedef mixture_type | distribution_type |
the distribution operated on by the functor. | |
Public Member Functions | |
bool | operator() (const mixture_type &mix, return_type &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 number of components in a mixture.
This is a dummy class for non-mixture types; it always fails
Definition at line 22 of file vpdt_mixture_accessors.h.
typedef mixture_type vpdt_num_components_accessor< mixture_type, Disambiguate >::distribution_type |
the distribution operated on by the functor.
Definition at line 28 of file vpdt_mixture_accessors.h.
typedef unsigned int vpdt_num_components_accessor< mixture_type, Disambiguate >::return_type |
the functor return type.
Definition at line 26 of file vpdt_mixture_accessors.h.
bool vpdt_num_components_accessor< mixture_type, Disambiguate >::operator() | ( | const mixture_type & | mix, |
return_type & | retval | ||
) | const [inline] |
The main function.
Definition at line 39 of file vpdt_mixture_accessors.h.
const bool vpdt_num_components_accessor< mixture_type, Disambiguate >::valid_functor = false [static] |
is this functor valid for its distribution type.
Definition at line 30 of file vpdt_mixture_accessors.h.