|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.ngram.bayes.DiscreteFunction
pt.tumba.ngram.bayes.ProbabilityFunction
pt.tumba.ngram.bayes.QBProbabilityFunction
public class QBProbabilityFunction
| Field Summary | |
|---|---|
(package private) double[] |
lower_envelope
|
(package private) double[] |
upper_envelope
|
| Fields inherited from class pt.tumba.ngram.bayes.ProbabilityFunction |
|---|
bn, properties |
| Fields inherited from class pt.tumba.ngram.bayes.DiscreteFunction |
|---|
values, variables |
| Constructor Summary | |
|---|---|
QBProbabilityFunction()
Default constructor for a QBProbabilityFunction. |
|
QBProbabilityFunction(BayesNet b_n,
DiscreteVariable[] dvs,
double[] v,
double[] lp,
double[] up,
java.util.Vector prop)
Constructor for ProbabilityFunction. |
|
QBProbabilityFunction(BayesNet b_n,
int n_vb,
int n_vl,
java.util.Vector prop)
Constructor for QBProbabilityFunction. |
|
QBProbabilityFunction(DiscreteFunction df,
double[] new_values,
double[] new_lp,
double[] new_up)
Constructor for QBProbabilityFunction. |
|
| Method Summary | |
|---|---|
double[] |
get_lower_envelope()
Get the lower_envelope array. |
double[] |
get_upper_envelope()
Get the upper_envelope array. |
void |
print()
Print QBProbabilityFunction. |
void |
print(java.io.PrintStream out)
Print QBProbabilityFunction. |
| Methods inherited from class pt.tumba.ngram.bayes.ProbabilityFunction |
|---|
add_property, evaluate, evaluate, expected_value, get_enumerated_properties, get_position_from_indexes, get_properties, posterior_expected_value, process_properties, remove_property, remove_property, save_xml_0_3, save_xml, set_properties, set_value, variance |
| Methods inherited from class pt.tumba.ngram.bayes.DiscreteFunction |
|---|
evaluate, get_index, get_indexes, get_position_from_indexes, get_value, get_values, get_variable, get_variables, memberOf, multiply, normalize_first, normalize, number_values, number_variables, same_variables, set_value, set_values, set_variable, sum_out |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
double[] lower_envelope
double[] upper_envelope
| Constructor Detail |
|---|
public QBProbabilityFunction()
public QBProbabilityFunction(BayesNet b_n,
int n_vb,
int n_vl,
java.util.Vector prop)
public QBProbabilityFunction(BayesNet b_n,
DiscreteVariable[] dvs,
double[] v,
double[] lp,
double[] up,
java.util.Vector prop)
public QBProbabilityFunction(DiscreteFunction df,
double[] new_values,
double[] new_lp,
double[] new_up)
| Method Detail |
|---|
public void print()
print in class DiscreteFunctionpublic void print(java.io.PrintStream out)
print in class ProbabilityFunctionpublic double[] get_lower_envelope()
public double[] get_upper_envelope()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||