EvidenceAdd


Description

An event that reports that a Node/State pair has been added to the aModel.Engine.Evidence collection.

Syntax

aModel_EvidenceAdd(aNode)

 

Parameter Description
aModel a Model object.
aNode the Node object.

Guarantees

This event is guaranteed to be fired after the Node/State pair has been added.

Remarks

The State added can be found with this expression:

aModel.Engine.Evidence(aNode)

This event will not fire if the evidence doesn't really change. For example, if a node is set to the same state twice, no event will fire the second time it is set.

Applies To

Model

Also See:

EvidenceRemove

Events: an Overview

Inference: an Overview