|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.ngram.bayes.ConvertInterchangeFormat
pt.tumba.ngram.bayes.QuasiBayesConvertInterchangeFormat
public class QuasiBayesConvertInterchangeFormat
Class that converts the contents of an InterchangeFormat * object to the BayesNet object in the BayesianNetworks * package *
| Field Summary |
|---|
| Fields inherited from class pt.tumba.ngram.bayes.ConvertInterchangeFormat |
|---|
ifo |
| Constructor Summary | |
|---|---|
QuasiBayesConvertInterchangeFormat(InterchangeFormat inter_format)
|
|
| Method Summary | |
|---|---|
(package private) void |
finish_values(double[] values,
double[][] extreme_points)
Perform final calculations in the values * |
protected ProbabilityFunction |
get_probability_function(BayesNet bn,
IFProbabilityFunction upf)
Method that does all the work involved in creating a * ProbabilityFunction object out of the definition * found by the parser and the information contained in * the BayesNet object; the ProbabilityFunction object may * in fact be a Quasi-Bayesian model. |
(package private) void |
process_defaults(IFProbabilityFunction upf,
double[] values,
double[][] extreme_points,
int jump)
Insert default values from the contents of the first * specification of defaults in the upf object. |
(package private) void |
process_entries(BayesNet bn,
IFProbabilityFunction upf,
ProbabilityVariable[] variables,
double[] values,
double[][] extreme_points,
int jump)
Insert entries specified in the upf object. |
(package private) double[][] |
process_extreme_tables(IFProbabilityFunction upf,
double[] values)
Fill the values with the contents of the tables * in the upf object. |
| Methods inherited from class pt.tumba.ngram.bayes.ConvertInterchangeFormat |
|---|
copy_table_to_values, create_variables, finish_values, get_name, get_probability_functions, get_probability_variables, get_properties, process_defaults, process_entries, process_tables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuasiBayesConvertInterchangeFormat(InterchangeFormat inter_format)
| Method Detail |
|---|
protected ProbabilityFunction get_probability_function(BayesNet bn,
IFProbabilityFunction upf)
get_probability_function in class ConvertInterchangeFormat
double[][] process_extreme_tables(IFProbabilityFunction upf,
double[] values)
void process_defaults(IFProbabilityFunction upf,
double[] values,
double[][] extreme_points,
int jump)
void process_entries(BayesNet bn,
IFProbabilityFunction upf,
ProbabilityVariable[] variables,
double[] values,
double[][] extreme_points,
int jump)
void finish_values(double[] values,
double[][] extreme_points)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||