BayesianInferences
Class BucketTree

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

public class BucketTree
extends java.lang.Object


Constructor Summary
BucketTree(Ordering ord)
          Simple constructor for BucketTree.
BucketTree(Ordering ord, boolean dpc)
          Constructor for BucketTree.
 
Method Summary
 boolean distribute()
          Distribute evidence in the BucketTree.
 DiscreteFunction get_normalized_result()
          Get the normalized result for the BucketTree.
 DiscreteFunction get_unnormalized_result()
          Get the unnormalized_result for the BucketTree.
 void reduce()
          Variable elimination in the BucketTree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BucketTree

public BucketTree(Ordering ord)
Simple constructor for BucketTree.

BucketTree

public BucketTree(Ordering ord,
                  boolean dpc)
Constructor for BucketTree. Does the whole initialization; it should be the only method that deals with symbolic names for variables.
Method Detail

reduce

public void reduce()
Variable elimination in the BucketTree.

distribute

public boolean distribute()
Distribute evidence in the BucketTree.
Returns:
true if successful; false if not.

get_normalized_result

public DiscreteFunction get_normalized_result()
Get the normalized result for the BucketTree.

get_unnormalized_result

public DiscreteFunction get_unnormalized_result()
Get the unnormalized_result for the BucketTree.