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

java.lang.Object
  extended byedu.ksu.cis.bnj.bbn.inference.cutset.BoundedCutset

public class BoundedCutset
extends java.lang.Object

Author:
Siddarth Chandak

Field Summary
protected  double cutoffPercentage
           
protected  java.lang.Object lock
           
protected  int maxInstantiationIndex
           
 
Constructor Summary
BoundedCutset()
           
BoundedCutset(BBNGraph g)
           
 
Method Summary
 java.lang.Object getLock()
           
 InferenceResult getMarginals()
           
 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()
           
 InferenceResult sortAndInferUsingAIS()
           
 void tempTest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cutoffPercentage

protected double cutoffPercentage

maxInstantiationIndex

protected int maxInstantiationIndex

lock

protected java.lang.Object lock
Constructor Detail

BoundedCutset

public BoundedCutset()

BoundedCutset

public BoundedCutset(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)

sortAndInferUsingAIS

public InferenceResult sortAndInferUsingAIS()

getMarginals

public InferenceResult getMarginals()

getLock

public java.lang.Object getLock()

main

public static void main(java.lang.String[] args)