A struct to hold the component distributions and weights. More...
Public Member Functions | |
| component () | |
| Constructor. | |
| component (const component_type &d, const T &w=T(0)) | |
| Constructor. | |
| bool | operator< (const component &rhs) const |
| Used to sort by decreasing weight. | |
Public Attributes | |
| component_type | distribution |
| The distribution. | |
| T | weight |
| The weight. | |
A struct to hold the component distributions and weights.
This class is private and should not be used outside of the mixture.
Definition at line 69 of file vpdt_mixture_of.h.
| vpdt_mixture_of< dist_t >::component::component | ( | ) | [inline] |
Constructor.
Definition at line 72 of file vpdt_mixture_of.h.
| vpdt_mixture_of< dist_t >::component::component | ( | const component_type & | d, |
| const T & | w = T(0) |
||
| ) | [inline] |
Constructor.
Definition at line 74 of file vpdt_mixture_of.h.
| bool vpdt_mixture_of< dist_t >::component::operator< | ( | const component & | rhs | ) | const [inline] |
Used to sort by decreasing weight.
Definition at line 78 of file vpdt_mixture_of.h.
| component_type vpdt_mixture_of< dist_t >::component::distribution |
The distribution.
Definition at line 84 of file vpdt_mixture_of.h.
| T vpdt_mixture_of< dist_t >::component::weight |
The weight.
Definition at line 86 of file vpdt_mixture_of.h.
1.7.5.1