|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.ngram.bayes.ConvertInterchangeFormat
public class ConvertInterchangeFormat
Field Summary | |
---|---|
(package private) InterchangeFormat |
ifo
|
Constructor Summary | |
---|---|
ConvertInterchangeFormat(InterchangeFormat inter_format)
Default constructor that loads an InterchangeFormat. |
Method Summary | |
---|---|
protected void |
copy_table_to_values(double[] table,
double[] values)
|
protected ProbabilityVariable[] |
create_variables(BayesNet bn,
IFProbabilityFunction upf)
|
(package private) void |
finish_values(double[] values)
|
java.lang.String |
get_name()
Get the name of the IFBayesNet in the InterchangeFormat. |
protected ProbabilityFunction |
get_probability_function(BayesNet bn,
IFProbabilityFunction upf)
|
ProbabilityFunction[] |
get_probability_functions(BayesNet bn)
Generate an array of ProbabilityFunction objects from the data structures in the IFBayesNet. |
ProbabilityVariable[] |
get_probability_variables(BayesNet bn)
Generate an array of ProbabilityVariable objects from the data structures in the IFBayesNet. |
java.util.Vector |
get_properties()
Get the properties of the IFBayesNet in the InterchangeFormat. |
(package private) void |
process_defaults(IFProbabilityFunction upf,
double[] values,
int jump)
|
(package private) void |
process_entries(BayesNet bn,
IFProbabilityFunction upf,
ProbabilityVariable[] variables,
double[] values,
int jump)
|
protected void |
process_tables(IFProbabilityFunction upf,
double[] values)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
InterchangeFormat ifo
Constructor Detail |
---|
public ConvertInterchangeFormat(InterchangeFormat inter_format)
Method Detail |
---|
public java.lang.String get_name()
public java.util.Vector get_properties()
public ProbabilityVariable[] get_probability_variables(BayesNet bn)
bn
- The BayesNet that will receive the ProbabilityVariable objects.public ProbabilityFunction[] get_probability_functions(BayesNet bn)
bn
- The BayesNet that will receive the ProbabilityVariable objects.protected ProbabilityFunction get_probability_function(BayesNet bn, IFProbabilityFunction upf)
protected ProbabilityVariable[] create_variables(BayesNet bn, IFProbabilityFunction upf)
protected void process_tables(IFProbabilityFunction upf, double[] values)
protected void copy_table_to_values(double[] table, double[] values)
void process_defaults(IFProbabilityFunction upf, double[] values, int jump)
void process_entries(BayesNet bn, IFProbabilityFunction upf, ProbabilityVariable[] variables, double[] values, int jump)
void finish_values(double[] values)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |