Belief
Description
Given the current model and evidence, tells the probability that a node will be in a state.
Syntax
anEngine.Belief(indexNode, indexState)
Parameter Description anEngine an Engine object. indexNode an integer, or a string, or a Node object specifying a node in the model's ModelNodes collection. A Node object is valid only if it is in the ModelNodes collection. A string index is valid only if it is the name of a node in the collection. Integer indexes are zero-based. indexState an integer, or a string, or a State object specifying a state in the node's States collection. Return Value
The probability that the node specified by indexNode will be in the state specified by indexState.
Example
Applies To