HAPI::DiscreteChanceNode Class Reference

This class is the ancestor of all discrete chance nodes. More...

Inheritance diagram for HAPI::DiscreteChanceNode:
HAPI::DiscreteNode HAPI::Node HAPI::BooleanDCNode HAPI::IntervalDCNode HAPI::LabelledDCNode HAPI::NumberedDCNode

List of all members.

Public Member Functions

void computeSensitivityData (size_t state)
 Compute the constants of the sensitivity functions for the specified output probability and all CPT parameters in the network.
Category getCategory () const
 Return the node category.
TablegetExperienceTable ()
 Return the experience table.
TablegetFadingTable ()
 Return the fading table.
bool hasExperienceTable () const
 Check if the node has an experience table.
bool hasFadingTable () const
 Check whether node has a fading table.
void reverseEdge (DiscreteChanceNode *neighbor)
 Reverse the edge between this node and the specified neighbor.

Detailed Description

This class is the ancestor of all discrete chance nodes.


Member Function Documentation

void HAPI::DiscreteChanceNode::computeSensitivityData ( size_t  state  ) 

Compute the constants of the sensitivity functions for the specified output probability and all CPT parameters in the network.

This method calls Domain::computeSensitivityData with the specified output probability as argument.

Parameters:
state the index of a state of this node — the probability of this state is the desired output probability.
Category HAPI::DiscreteChanceNode::getCategory (  )  const [inline, virtual]

Return the node category.

Returns:
H_CATEGORY_CHANCE

Implements HAPI::Node.


Copyright Hugin Expert A/S 1993-2010