HAPI.JunctionTree Class Module

Startpage
Overview
Index
HAPI
   |
   HAPI.JunctionTree

Properties

CGEvidenceIsPropagated() [[As Boolean]] (R)
True, if evidence has been entered into a CG node which is a member of a clique of this junction tree and this has been propagated. Otherwise, False.
Cliques() [[As Collection]] (R)
Holds all Clique objects of this JunctionTree.
Conflict() [[As Double]] (R)
Holds the conflict value of the evidence propagated during the last call of Propagate.
EquilibriumIs(lEq As hEquilibriums) [[As Boolean]] (R)
True, if this JunctionTree has been propagated using the specified equilibrium.
EvidenceIsPropagated() [[As Boolean]] (R)
True, if evidence has been entered and has been propagated. Otherwise, False.
EvidenceModeIs(lEM As hEvidenceModes) [[As Boolean]] (R)
True, if this JunctionTree could have been propagated using the specified evidence mode. Otherwise, False.
EvidenceToPropagate() [[As Boolean]] (R)
True, if evidence has been entered which has not been propagated. Otherwise, False. If you think about it, this is NOT just the same as (Not EvidenceIsPropagated).
LikelihoodIsPropagated() [[As Boolean]] (R)
True if likelihood evidence (non-deterministic evidence) has been entered and propagated. Otherwise, False.
Root() [[As Clique]] (R)
Holds the root Clique of this JunctionTree.
TablesToPropagate() [[As Boolean]] (R)
True if any conditional probability table or utility table has changed and should be propagated (updating values in such a table does not require a compilation). Otherwise, False.
TotalCGSize() [[As Long]] (R)
Returns the total number of CG table entries for this JunctionTree.
TotalSize() [[As Long]] (R)
Returns the total number of discrete table configurations for this JunctionTree.

Sub Procedures

Propagate(lEq As hEquilibriums, lEM As hEvidenceModes)
Updates all probabilities and utilities in a JunctionTree using the specified settings (see hEquilibriums and hEvidenceModes).

Description

A JunctionTree object represents a junction tree. Cliques and junction trees are the structures used internally in Hugin to do propagations. They are generated during compilation (see Compile). You don't need to handle these structures in general, but in some cases it can be nice to be able to access them.
HUGIN Expert A/S, 2008 - comments to activex@hugin.com