BayesianInferences
Class Inference

java.lang.Object
  |
  +--BayesianInferences.Inference

public class Inference
extends java.lang.Object


Field Summary
protected  BayesNet bn
           
protected  BayesianInferences.Bucket[] bucket_for_variable
           
protected  java.util.Vector bucket_forest
           
protected  BucketTree bucket_tree
           
protected  boolean do_produce_clusters
           
protected static int EXPLANATION
           
protected static int FULL_EXPLANATION
           
protected static int IGNORE_EXPLANATION
           
protected  DiscreteFunction result
           
 
Constructor Summary
Inference(BayesNet b_n, boolean dpc)
           
 
Method Summary
 DiscreteFunction get_result()
          Get the current result of the Inference.
 void inference(java.lang.String queried_variable_name)
          Calculation of marginal posterior distribution for an arbitrary BayesNet.
 void inference(java.lang.String[] order)
          Calculation of marginal posterior distribution using a given ordering, and an arbitrary BayesNet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bn

protected BayesNet bn

bucket_tree

protected BucketTree bucket_tree

bucket_for_variable

protected BayesianInferences.Bucket[] bucket_for_variable

bucket_forest

protected java.util.Vector bucket_forest

result

protected DiscreteFunction result

do_produce_clusters

protected boolean do_produce_clusters

IGNORE_EXPLANATION

protected static final int IGNORE_EXPLANATION

EXPLANATION

protected static final int EXPLANATION

FULL_EXPLANATION

protected static final int FULL_EXPLANATION
Constructor Detail

Inference

public Inference(BayesNet b_n,
                 boolean dpc)
Method Detail

inference

public void inference(java.lang.String queried_variable_name)
Calculation of marginal posterior distribution for an arbitrary BayesNet.

inference

public void inference(java.lang.String[] order)
Calculation of marginal posterior distribution using a given ordering, and an arbitrary BayesNet.

get_result

public DiscreteFunction get_result()
Get the current result of the Inference.