A UtilityNode represents a utility function. More...
Public Member Functions | |
| UtilityNode * | clone () const |
| Clone this UtilityNode object. | |
| Category | getCategory () const |
| Return the node category. | |
| Number | getExpectedUtility () const |
| Return the expected utility associated with this UtilityNode. | |
| Kind | getKind () const |
| Return the node kind. | |
| Number | getSampledUtility () const |
| Return the sampled utility associated with this UtilityNode. | |
| UtilityNode (NetworkModel *nm) | |
| Create a new UtilityNode in the given NetworkModel. | |
A UtilityNode represents a utility function.
The utility function can depend on discrete chance and discrete decision nodes.
| UtilityNode* HAPI::UtilityNode::clone | ( | ) | const [virtual] |
Clone this UtilityNode object.
Implements HAPI::Node.
| Category HAPI::UtilityNode::getCategory | ( | ) | const [inline, virtual] |
| Number HAPI::UtilityNode::getExpectedUtility | ( | ) | const |
Return the expected utility associated with this UtilityNode.
This is the utility value computed by the most recent inference operation.
| Kind HAPI::UtilityNode::getKind | ( | ) | const [inline, virtual] |
| Number HAPI::UtilityNode::getSampledUtility | ( | ) | const |
Return the sampled utility associated with this UtilityNode.
This is the utility value determined by the most recent simulation operation.