| Constructor and Destrutor
| CBNSCliqueBase ()
Default Constructor
| virtual | ~CBNSCliqueBase ()
Destructor
|
|
| Update Functions
void | AddNode (CBNSNode * pNode)
Adds a node to the Clique/Separator
| void | AddNodeSet (CBNSSet<CBNSNode*> nodeSet)
Adds a node set to the Clique/Separator
| void | AddProbNode (CBNSNode *pNode)
Adds a Probability node to the Clique/Separator
| void | RemoveNode (CBNSNode * pNode)
Removes a node from the Clique/Separator
| void | RemoveNodeSet (CBNSSet<CBNSNode*> nodeSet)
Removes a node set from the Clique/Separator
|
|
| Out Functions
double | GetPriorProbValue (vector &vStateIndex)
Returns the probability value for the given states of
the nodes in the clique
| void | GetNextState (vector& vStateIndex)
Given the current states of the nodes in vStateIndex, the next
state is returned in vStateIndex
| CBNSProbVector | GetPriorProbability ()
Returns the Prior Probability table of the Clique/Separator
| CBNSProbVector* | GetPotential ( )
Return the pointer to the potential table
| CBNSSet <CBNSNode*> | GetNodes ()
Returns the set of nodes assigned to the Clique/Separator
|
|
| In Functions
void | SetPotential (CBNSProbVector& vProbVector)
Sets the potential table of the Clique/Separator
| void | SetEvidence (CBNSNode* pNode, int nStateIndex)
Sets the Evidence for a Node to a particular state
|
|
| Computation of Marginal Distributions
|
| Other Utility Functions
void | UpdateClique ()
Updates the Clique/Separator
| void | UpdatePriorProbability ()
Updates the prior probability table
| void | PrintNodeProbabilities ()
Prints the node probabilities to the console
| void | PrintPotentialTable ()
Prints the potential table of the Clique/Separator
|
|