Public Member Functions | Public Attributes
bsta_mixture_fixed< dist_, s >::component Struct Reference

A struct to hold the component distributions and weights. More...

List of all members.

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.

Detailed Description

template<class dist_, unsigned s>
struct bsta_mixture_fixed< dist_, s >::component

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.


Constructor & Destructor Documentation

template<class dist_, unsigned s>
bsta_mixture_fixed< dist_, s >::component::component ( ) [inline]

Constructor.

Definition at line 43 of file bsta_mixture_fixed.h.

template<class dist_, unsigned s>
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.


Member Function Documentation

template<class dist_, unsigned s>
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.


Member Data Documentation

template<class dist_, unsigned s>
dist_ bsta_mixture_fixed< dist_, s >::component::distribution

The distribution.

Definition at line 55 of file bsta_mixture_fixed.h.

template<class dist_, unsigned s>
T bsta_mixture_fixed< dist_, s >::component::weight

The weight.

Definition at line 57 of file bsta_mixture_fixed.h.


The documentation for this struct was generated from the following file: