Class BooleanDCNode
Boolean chance node. A BooleanDCNode has states false
and true.
Implements
Inherited Members
Namespace: HAPI
Assembly: hugincs-9.7-netstandard2.0-x64.dll
Syntax
public class BooleanDCNode : DiscreteChanceNode, ICloneable
Constructors
BooleanDCNode(DiscreteNode)
Constructs a new BooleanDCNode object corresponding to the
given DiscreteNode object node.
Declaration
public BooleanDCNode(DiscreteNode node)
Parameters
| Type | Name | Description |
|---|---|---|
| DiscreteNode | node | The DiscreteNode to be converted. |
Remarks
The new object is identical to node
except that it will be a "boolean" chance node. As a
side-effect, node dies (that is, becomes
"not-alive"). And if node is an output
node, then all output clones associated with the node also die.
Exceptions
| Type | Condition |
|---|---|
| ExceptionHugin |
BooleanDCNode(NetworkModel)
Constructs a Boolean chance node with states false
and true.
Declaration
public BooleanDCNode(NetworkModel belongsTo)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkModel | belongsTo |
Exceptions
| Type | Condition |
|---|---|
| ExceptionHugin |