| Constructor and Destructor
| CBNSJunctionTree ()
Default Constructor
| | ~CBNSJunctionTree ()
Destructor
|
|
| Out Functions
|
| In Functions
void | SetCliqueSet (CBNSSet<CBNSClique *>& CliqueSet)
Assigns the Clique Set to CliqueSet
| void | SetSeparatorSet (CBNSSet<CBNSSeparator *>& SeparatorSet)
Assigns the Clique Set to CliqueSet
| void | SetChargeSet (CBNSSet<CBNSCharge *>& ChargeSet)
Assigns the Charge Set to CliqueSet
|
|
| Message Propagation
void | DistributeEvidence ()
Distributes the Evidence from the root of the Junction Tree
| void | CollectEvidence ()
Collects the Evidence
| void | Propagate (eBNSPropagationMethod method = PROPAGATION_DEFAULT)
Propagates the Evidence
| bool | NeedsPropagation ()
Return true if the Junction Tree needs propagation
|
|
| Other Utility Functions
void | AssignProbNodes (CBNSNetwork *pNetwork)
Assigns the probability nodes to the cliques
| void | PrintNodeProbability (CBNSNode *pNode)
Prints the probability of pNode to the console
| void | SetEvidence (CBNSNode *pNode, int nStateIndex)
Sets the Evidence for a Node to a particular state
| void | CreatePotentials ()
Creates potential tables for the cliques and separators
|
|