This class is the ancestor of all discrete chance nodes. More...
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. | |
Table * | getExperienceTable () |
Return the experience table. | |
Table * | getFadingTable () |
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. |
This class is the ancestor of all discrete chance nodes.
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.
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] |