Public Member Functions | Public Attributes
vpdt_mixture_of< dist_t >::component Struct Reference

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

List of all members.

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.

Detailed Description

template<class dist_t>
struct vpdt_mixture_of< dist_t >::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 69 of file vpdt_mixture_of.h.


Constructor & Destructor Documentation

template<class dist_t>
vpdt_mixture_of< dist_t >::component::component ( ) [inline]

Constructor.

Definition at line 72 of file vpdt_mixture_of.h.

template<class dist_t>
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.


Member Function Documentation

template<class dist_t>
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.


Member Data Documentation

template<class dist_t>
component_type vpdt_mixture_of< dist_t >::component::distribution

The distribution.

Definition at line 84 of file vpdt_mixture_of.h.

template<class dist_t>
T vpdt_mixture_of< dist_t >::component::weight

The weight.

Definition at line 86 of file vpdt_mixture_of.h.


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