bool | AddState (int nStates)
Adds nStates to the node and returns true when succeeded
|
bool | AddState (CBNSState& strStateSet)
Returns true when the the states categorized by string are added to the node
|
bool | AddState (CBNSState& dStateSet)
Returns true when the the states categorized by double are added to the node
|
bool | AddState (CBNSState& chStateSet)
Returns true when the the states categorized by char are added to the node
|
bool | DeleteState (CBNSState& strStateSet)
Returns true when the the states categorized by string are deleted from the node
|
bool | DeleteState (CBNSState& dStateSet)
Returns true when the the states categorized by double are deleted from the node
|
bool | DeleteState (CBNSState& chStateSet)
Returns true when the the states categorized by char are deleted from the node
|
bool | DeleteState (string sLabel)
Returns true when the the state having label sLabel is deleted from the node
|
bool | AddLink (CBNSLink* pLink, bool bUpdateNodeTable = true)
Returns true when the the link pLink is added to the node
|
bool | AddLink (CBNSSet<CBNSLink*>& cLinkSet, bool bUpdateNodeTable = true)
Returns true when atleast one of the of links in the cLinkSet is added to the node
|
void | AddChild (CBNSNode* pNode)
Adds a child node to the set of child nodes
|
void | AddParent (CBNSNode* pNode, bool bUpdateNodeTable = true)
Adds a parent node to the set of parent nodes
|
bool | DeleteLink (CBNSLink* pLink, bool bUpdateNodeTable = true)
Returns true when the the link pLink is deleted from the node
|
void | UpdateNode ()
Updates the node by ordering the set of parents and children
|
void | InitializeProbVectors ()
Initializes the Lambda, Pi and Belief Vectors
|
bool | CheckTableSize (vector<CBNSProbVector*>& vProbVector)
Returns true if the size of vProbVector is same as the
number of states of the node
|
CBNSProbVector* | ComputeMarginal ()
Returns the initial belief vector for the node
|
void | PrintNode ()
Prints the contents of the node to the console
|