void | Init ()
Initializes the network
|
void | Compile ()
Compiles the network
|
void | UnCompile ()
Uncompiles the network
|
bool | IsCompiled ()
Returns true if the network is compiled
|
bool | IsPropagated ()
Returns true if the network is propagated
|
bool | NeedsPropagation ()
Returns true if the network needs propagated
|
bool | IsLink (CBNSNode *pNode1, CBNSNode *pNode2)
Returns true if a link exists between pNode1 and pNode2
|
bool | IsSingleNetwork ()
Returns false if the network is a forest
|
bool | IsDAG ()
Returns true if the network is a Directed Acyclic Graph
|
void | Initialize ()
Initializes the network
|
void | AddNode (CBNSNode* pNode)
Adds a node to the network
|
void | RemoveNode (CBNSNode* pNode)
Removes a node from the network
|
void | AddLink (CBNSLink* link, bool bUpdateNodeTable = true)
Adds a link to the network and updates the node tables connected
to the link if bUpdateNodeTable is true
|
void | RemoveLink (CBNSLink* link, bool bUpdateNodeTable = true)
Removes a link from the network and updates the node tables connected
to the link if bUpdateNodeTable is true
|
void | UpdateTablesSize ()
Updates teh Table sizes of the nodes
|
void | SetEvidence (CBNSNode* pNode, int nStateIndex)
Sets the Evidence for a Node to a particular state
|
void | Propagate (eBNSPropagationMethod method = PROPAGATION_DEFAULT)
Propagates the Evidence
|