NewModel Function

Startpage
Overview
Index
HAPI
   |
   HAPI.Node
      |
      NewModel(colNodes As Collection) As Model

Syntax

Function NewModel(colNodes As Collection) As Model

Parameter description

NameTypeDescription
colNodesCollection Collection of nodes comprising a subset of the parents of this node.

Description

Create and return a new model for this node (which must be a utility or discrete chance node) using colNodes (comprising a subset of the parents of this node) to define the configurations of the model.
If the node already have a model associated with it, the existing model will be deleted before the new model is installed.
When a model exists for a node, it overrides the normal table associated with the node. Instead, the table data will be generated automatically using the model when the domain to which the node belongs is compiled.

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