class CGDistribution

The CGDistribution encapsulates all information regarding the distribution of a ContinuousChanceNode

Public Methods

double getAlpha(int config) throw( ExceptionHugin )
Return the alpha component of the CG distribution
double getBeta(ContinuousChanceNode *parent, int config) throw( ExceptionHugin )
Return the beta component of the CG distribution
double getGamma(int config) throw( ExceptionHugin )
Return the gamma component of the CG distribution
ContinuousChanceNode* getNode() throw(ExceptionHugin)
Return the ContinuousChanceNode on which the CGDistribution is define
void setAlpha(int config, double alpha) throw( ExceptionHugin )
Set the alpha component of the CG distribution given a discrete configuration
void setBeta(ContinuousChanceNode *parent, int config, double beta) throw( ExceptionHugin )
Set the beta component of the CG distribution
void setGamma(int config, double gamma) throw( ExceptionHugin )
Set the gamma component of the CG distribution given a discrete configuration

Documentation

The CGDistribution encapsulates all information regarding the distribution of a ContinuousChanceNode
double getAlpha(int config) throw( ExceptionHugin )
Return the alpha component of the CG distribution.

Returns:
double
Parameters:
config - int - the index of the discrete configuration

double getBeta(ContinuousChanceNode *parent, int config) throw( ExceptionHugin )
Return the beta component of the CG distribution. The distribution is given the discrete configuration and the continuous parent.

Returns:
double
Parameters:
parent - ContinuousChanceNode*
config - int - the index of the discrete configuration

double getGamma(int config) throw( ExceptionHugin )
Return the gamma component of the CG distribution.

Returns:
double
Parameters:
config - int - the index of the discrete configuration

ContinuousChanceNode* getNode() throw(ExceptionHugin)
Return the ContinuousChanceNode on which the CGDistribution is define
Returns:
ContinuousChanceNode*

void setAlpha(int config, double alpha) throw( ExceptionHugin )
Set the alpha component of the CG distribution given a discrete configuration.

Returns:
double
Parameters:
config - int - the index of the discrete configuration

void setBeta(ContinuousChanceNode *parent, int config, double beta) throw( ExceptionHugin )
Set the beta component of the CG distribution. The distribution is given a discrete configuration and the continuous parent.

Returns:
double
Parameters:
oarent -
config - int - the index of the discrete configuration

void setGamma(int config, double gamma) throw( ExceptionHugin )
Set the gamma component of the CG distribution given a discrete configuration.

Returns:
double
Parameters:
config - int - the index of the discrete configuration


This class has no child classes.
See Also:
ContinuousChanceNode

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de