| NORSYS SOFTWARE © 2007 | NETICA API | C VERSION 3.25

bool_ns IsNodeDeterministic_bn ( | const node_bn* node )

If this returns TRUE then node is a deterministic node, which means that: given values for its parents, its value is determined with certainty.

There is no API function to directly set whether a node is deterministic, but setting all its conditional probabilities (i.e., CPT entries) to 0 or 1 will make a node deterministic. Building its table just with SetNodeFuncState_bn or SetNodeFuncReal_bn also will. Note that a node with a deterministic equation can result in a non-deterministic CPT, due to uncertainties introduced in the discretization process.

Version:

This function is available in all versions.

See also:

HasNodeTable_bn |  | Determine if node has any table
SetNodeProbs_bn |  | To change whether a node is deterministic
GetNodeType_bn |  | To determine if a node is for a discrete or continuous variable
GetNodeKind_bn |  | To determine what kind of node it is