Boolean discrete chance node. The node has two states, true and false. More...
Public Member Functions | |
BooleanDCNode (NetworkModel *nm) | |
Create a new BooleanDCNode in the given NetworkModel. | |
BooleanDCNode (DiscreteNode *node) | |
Construct a new BooleanDCNode object corresponding to the given DiscreteNode object node . | |
BooleanDCNode * | clone () const |
Clone this BooleanDCNode object. | |
BooleanDCNode * | createTemporalClone () |
Construct a temporal clone of this BooleanDCNode object. |
Boolean discrete chance node. The node has two states, true and false.
HAPI::BooleanDCNode::BooleanDCNode | ( | DiscreteNode * | node ) |
Construct a new BooleanDCNode object corresponding to the given DiscreteNode object node
.
(node
must be a chance or a decision node.) The new object will be identical to node
(that is, same parents, same table, etc.) except for its type.
As a side-effect, the object node
is deleted. And if node
is an output node, then all output clone objects associated with the node are also deleted.
BooleanDCNode* HAPI::BooleanDCNode::clone | ( | ) | const [virtual] |
Clone this BooleanDCNode object.
Implements HAPI::Node.
BooleanDCNode* HAPI::BooleanDCNode::createTemporalClone | ( | ) | [virtual] |
Construct a temporal clone of this BooleanDCNode object.
Implements HAPI::Node.