MayChange


Description

Tells if a node's value in the evidence collection may be changed. This method is only interesting when the inference engine does time-series inference. Currently, when anEngine.Type= ine_HmmCopyBack.

 

Syntax

someEvidence.MayChange(indexNode)

 

Parameter

Description

someEvidence

an Evidence object.

indexNode

An integer, or a string, or a Node object specifying a Node object in the  ModelNodes collection.

Return Value

A Boolean that is true only if  the evidence setting for the node can be changed.

Remarks

For the default inference engine, this will always be true. It will sometimes be false when the inference type is ine_HmmCopyBack.

If you refer to a node by index number be sure to use the node's position in the ModelNodes collection, not its position in the Evidence collection.

Applies To

Evidence