|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.ngram.bayes.Inference
public class Inference
Field Summary | |
---|---|
protected BayesNet |
bn
|
protected 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 ProbabilityFunction |
result
|
Constructor Summary | |
---|---|
Inference(BayesNet b_n,
boolean dpc)
|
Method Summary | |
---|---|
private void |
add_bucket_tree()
|
boolean |
areClustersProduced()
Get the status of the clustering process. |
BayesNet |
get_bayes_net()
Get the BayesNet. |
BucketTree |
get_bucket_tree()
Get the BucketTree. |
ProbabilityFunction |
get_result()
Get the current result of the Inference. |
void |
inference()
Calculation of marginal posterior distribution. |
private void |
inference(Ordering or)
|
protected void |
inference(java.lang.String queried_variable_name)
Calculation of marginal posterior distribution for an arbitrary BayesNet. |
protected void |
inference(java.lang.String[] order)
Calculation of marginal posterior distribution using a given ordering, and an arbitrary BayesNet. |
void |
print()
Print the Inference. |
void |
print(boolean should_print_bucket_tree)
Print the Inference. |
void |
print(java.io.PrintStream out)
Print the Inference. |
void |
print(java.io.PrintStream out,
boolean should_print_bucket_tree)
Print the Inference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BayesNet bn
protected BucketTree bucket_tree
protected Bucket[] bucket_for_variable
protected java.util.Vector bucket_forest
protected ProbabilityFunction result
protected boolean do_produce_clusters
protected static final int IGNORE_EXPLANATION
protected static final int EXPLANATION
protected static final int FULL_EXPLANATION
Constructor Detail |
---|
public Inference(BayesNet b_n, boolean dpc)
Method Detail |
---|
public void inference()
protected void inference(java.lang.String queried_variable_name)
protected void inference(java.lang.String[] order)
private void inference(Ordering or)
private void add_bucket_tree()
public void print()
public void print(java.io.PrintStream out)
public void print(boolean should_print_bucket_tree)
public void print(java.io.PrintStream out, boolean should_print_bucket_tree)
public BucketTree get_bucket_tree()
public BayesNet get_bayes_net()
public ProbabilityFunction get_result()
public boolean areClustersProduced()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |