edu.ksu.cis.bnj.bbn.inference.cutset
Class Cutset
java.lang.Object
edu.ksu.cis.bnj.bbn.inference.Inference
edu.ksu.cis.bnj.bbn.inference.ExactInference
edu.ksu.cis.bnj.bbn.inference.cutset.Cutset
- All Implemented Interfaces:
- Optionable
- public class Cutset
- extends ExactInference
Methods inherited from class edu.ksu.cis.bnj.bbn.inference.Inference |
execute, getCurrentOptions, getDefaultOptions, getGraph, getMAP, getMarginalsResult, getMPE, getOptionsDialog, getOutputFile, getRunType, load, setGraph, setOption, setOptions, setOutputFile, setRunType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cutset
public Cutset()
Cutset
public Cutset(BBNGraph g)
tempTest
public void tempTest()
getUniqueInstantiation
protected java.util.Set getUniqueInstantiation(java.util.LinkedList nodes,
java.util.Hashtable curInst,
java.util.HashSet set)
getNodesWithoutLoopCutsetPredecessors
public void getNodesWithoutLoopCutsetPredecessors()
- Updates cutsetNodes, nodeTable == name->BBNNode, nodesWithPredecessors == name->BBNNode
orderCutsetNodes
public java.util.LinkedList orderCutsetNodes()
initAll
public java.util.Set initAll()
inferWithEvidence
public InferenceResult inferWithEvidence(java.util.Set result)
getName
public java.lang.String getName()
- Specified by:
getName
in class Inference
getMarginals
public InferenceResult getMarginals()
- Description copied from class:
Inference
- Getting the result of the marginals (i.e. the belief revision)
- Specified by:
getMarginals
in class Inference
- Returns:
- InferenceResult The marginals
main
public static void main(java.lang.String[] args)