state_bn CalcNodeState_bn ( node_bn*  node )

Returns the discrete finding entered for node if one has been entered, or the state calculated from its neighbors if that can be done deterministically (e.g., by equation or function table), or else UNDEF_STATE.

If node is not a discrete or discretized node, then an error is generated (then use CalcNodeValue_bn instead).

Version:

Versions 1.18 and later have this function.
In versions previous to 2.10, this function was named GetNodeCalcState_bn.

See also:

CalcNodeValue_bn    For real values (i.e., continuous)
GetNodeFinding_bn    Doesn't do deterministic propagation