pt.tumba.ngram.bayes
Class QuasiBayesExpectation

java.lang.Object
  extended by pt.tumba.ngram.bayes.Expectation
      extended by pt.tumba.ngram.bayes.QuasiBayesExpectation

public class QuasiBayesExpectation
extends Expectation


Field Summary
 
Fields inherited from class pt.tumba.ngram.bayes.Expectation
bn, current_function, do_produce_clusters, EXPECTED_VALUE, FOURTH_MOMENT, inference, results, SECOND_MOMENT, THIRD_MOMENT
 
Constructor Summary
QuasiBayesExpectation(BayesNet b_n, boolean dpc)
          Constructor for a QBExpectation.
 
Method Summary
protected  void do_expectation_from_inference(DiscreteFunction df)
           
private  void expectation_with_local_neighborhoods(DiscreteFunction df)
           
private  void expectation_without_local_neighborhoods(DiscreteFunction df)
           
protected  void initialize_inference()
           
 
Methods inherited from class pt.tumba.ngram.bayes.Expectation
expectation, expectation, expectation, expectation, expectation, expectation, expectation, expectation, expectation, get_results, print, print, print, print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuasiBayesExpectation

public QuasiBayesExpectation(BayesNet b_n,
                             boolean dpc)
Constructor for a QBExpectation.

Method Detail

initialize_inference

protected void initialize_inference()
Overrides:
initialize_inference in class Expectation

do_expectation_from_inference

protected void do_expectation_from_inference(DiscreteFunction df)
Overrides:
do_expectation_from_inference in class Expectation

expectation_with_local_neighborhoods

private void expectation_with_local_neighborhoods(DiscreteFunction df)

expectation_without_local_neighborhoods

private void expectation_without_local_neighborhoods(DiscreteFunction df)