A struct to hold the component distributions and weights. More...
Public Member Functions | |
component () | |
Constructor. | |
component (const dist_ &d, const T &w=T(0)) | |
Constructor. | |
bool | operator< (const component &rhs) const |
Used to sort by decreasing weight. | |
Public Attributes | |
dist_ | 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 40 of file bsta_mixture_fixed.h.
bsta_mixture_fixed< dist_, s >::component::component | ( | ) | [inline] |
Constructor.
Definition at line 43 of file bsta_mixture_fixed.h.
bsta_mixture_fixed< dist_, s >::component::component | ( | const dist_ & | d, |
const T & | w = T(0) |
||
) | [inline] |
Constructor.
Definition at line 45 of file bsta_mixture_fixed.h.
bool bsta_mixture_fixed< dist_, s >::component::operator< | ( | const component & | rhs | ) | const [inline] |
Used to sort by decreasing weight.
Definition at line 49 of file bsta_mixture_fixed.h.
dist_ bsta_mixture_fixed< dist_, s >::component::distribution |
The distribution.
Definition at line 55 of file bsta_mixture_fixed.h.
T bsta_mixture_fixed< dist_, s >::component::weight |
The weight.
Definition at line 57 of file bsta_mixture_fixed.h.