|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.ngram.bayes.IFBayesNet
public class IFBayesNet
Auxiliar class that stores the temporary information about a BayesNet, before it is possible to actually create a BayesNet object
Field Summary | |
---|---|
(package private) java.lang.String |
name
|
(package private) java.util.Vector |
properties
|
(package private) java.util.Vector |
pvs
|
(package private) java.util.Vector |
upfs
|
Constructor Summary | |
---|---|
IFBayesNet(java.lang.String n,
java.util.Vector p)
Basic constructor. |
Method Summary | |
---|---|
void |
add(IFProbabilityFunction upf)
Method that adds a IFProbabilityFunction object to the vector of functions. |
void |
add(IFProbabilityVariable pv)
Method that adds a ProbabilityVariable object to the vector of variables. |
java.lang.String |
get_name()
|
java.util.Vector |
get_properties()
|
java.util.Vector |
get_pvs()
|
java.util.Vector |
get_upfs()
|
void |
invert_probability_tables()
Method that inverts the tables in the ProbabilityFunction objects; necessary for formats that put the GIVEN variables as the lowest running indexes in the tables. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.lang.String name
java.util.Vector properties
java.util.Vector pvs
java.util.Vector upfs
Constructor Detail |
---|
public IFBayesNet(java.lang.String n, java.util.Vector p)
Method Detail |
---|
public java.lang.String get_name()
public java.util.Vector get_properties()
public java.util.Vector get_pvs()
public java.util.Vector get_upfs()
public void add(IFProbabilityVariable pv)
public void add(IFProbabilityFunction upf)
public void invert_probability_tables()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |