Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

HAPI::JunctionTree Class Reference

List of all members.

Detailed Description

Thic class represents the junction trees in the compiled domain.


Public Member Functions

CliqueList getCliques () const
 Return the Cliques in the junction tree.

double getConflict () const
 Return the conflict measure of the data inserted in the junction tree.

CliquegetRoot () const
 Get the root clique of the junction tree.

bool hasEvidenceToPropagate () const
 Does the junction tree contain evidence that has not been propagated?

bool hasTablesToPropagate () const
 Does the junction tree contain updated tables that have not been propagated?

bool isCGEvidencePropagated () const
 Was CG evidence propagated through the junction tree?

bool isEquilibrium (Equilibrium eq) const
 Test the Equilibrium type.

bool isEvidenceMode (EvidenceMode em) const
 Test the EvidenceMode.

bool isEvidencePropagated () const
 Was evidence propagated through the junction tree?

bool isLikelihoodPropagated () const
 Were likelihoods propagated through the junction tree?

void propagate (Equilibrium eq=H_EQUILIBRIUM_SUM, EvidenceMode em=H_MODE_NORMAL)
 Propagate evidence in the junction tree.


Member Function Documentation

CliqueList HAPI::JunctionTree::getCliques  )  const
 

Return the Cliques in the junction tree.

Returns:
CliqueList

double HAPI::JunctionTree::getConflict  )  const
 

Return the conflict measure of the data inserted in the junction tree.

Returns:
double

Clique* HAPI::JunctionTree::getRoot  )  const
 

Get the root clique of the junction tree.

Returns:
Clique* - pointer to Clique object.

bool HAPI::JunctionTree::hasEvidenceToPropagate  )  const
 

Does the junction tree contain evidence that has not been propagated?

Returns:
boolean

bool HAPI::JunctionTree::hasTablesToPropagate  )  const
 

Does the junction tree contain updated tables that have not been propagated?

Returns:
boolean

bool HAPI::JunctionTree::isCGEvidencePropagated  )  const
 

Was CG evidence propagated through the junction tree?

Returns:
boolean

bool HAPI::JunctionTree::isEquilibrium Equilibrium  eq  )  const
 

Test the Equilibrium type.

Can the equilibrium of the junction tree be obtained through a propagation using eq as the Equilibrium type?

Parameters:
eq Equilibrium
Returns:
boolean

bool HAPI::JunctionTree::isEvidenceMode EvidenceMode  em  )  const
 

Test the EvidenceMode.

Does the EvidenceMode match the EvidenceMode given as parameter?

Parameters:
em EvidenceMode
Returns:
boolean

bool HAPI::JunctionTree::isEvidencePropagated  )  const
 

Was evidence propagated through the junction tree?

Returns:
boolean

bool HAPI::JunctionTree::isLikelihoodPropagated  )  const
 

Were likelihoods propagated through the junction tree?

Returns:
boolean

void HAPI::JunctionTree::propagate Equilibrium  eq = H_EQUILIBRIUM_SUM,
EvidenceMode  em = H_MODE_NORMAL
 

Propagate evidence in the junction tree.

Parameters:
eq The type of Equilibrium to reach after the propagation.
em The EvidenceMode used.


Copyright Hugin Expert A/S 1993-2004