SelectState Sub Procedure

Startpage
Overview
Index
HAPI
   |
   HAPI.Node
      |
      SelectState(lStateIndex As Long)

Syntax

Sub Procedure SelectState(lStateIndex As Long)

Parameter description

NameTypeDescription
lStateIndexLong The selected state.

Description

The SelectState method enters evidence as if Finding(lStateIndex)=1 and Finding(i)=0 for all states i different from lStateIndex. The method can only be called for discrete chance nodes and decision nodes in a compiled domain (see Compile).

HUGIN Expert A/S, 2008 - comments to activex@hugin.com