edu.ksu.cis.bnj.bbn.inference.cutset
Class Cutset

java.lang.Object
  extended byedu.ksu.cis.bnj.bbn.inference.Inference
      extended byedu.ksu.cis.bnj.bbn.inference.ExactInference
          extended byedu.ksu.cis.bnj.bbn.inference.cutset.Cutset
All Implemented Interfaces:
Optionable

public class Cutset
extends ExactInference


Field Summary
 
Fields inherited from class edu.ksu.cis.bnj.bbn.inference.Inference
graph, inferenceClassName, MAP, MARGINALS, marginalsResult, MPE, OPT_RUN_TYPE, options
 
Fields inherited from interface edu.ksu.cis.kdd.util.gui.Optionable
OPT_OUTPUT_FILE
 
Constructor Summary
Cutset()
           
Cutset(BBNGraph g)
           
 
Method Summary
 InferenceResult getMarginals()
          Getting the result of the marginals (i.e. the belief revision)
 java.lang.String getName()
           
 void getNodesWithoutLoopCutsetPredecessors()
          Updates cutsetNodes, nodeTable == name->BBNNode, nodesWithPredecessors == name->BBNNode
protected  java.util.Set getUniqueInstantiation(java.util.LinkedList nodes, java.util.Hashtable curInst, java.util.HashSet set)
           
 InferenceResult inferWithEvidence(java.util.Set result)
           
 java.util.Set initAll()
           
static void main(java.lang.String[] args)
           
 java.util.LinkedList orderCutsetNodes()
           
 void tempTest()
           
 
Methods inherited from class edu.ksu.cis.bnj.bbn.inference.ExactInference
computeRMSE
 
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
 

Constructor Detail

Cutset

public Cutset()

Cutset

public Cutset(BBNGraph g)
Method Detail

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)