|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRBNpackage.RBN
public class RBN
Constructor Summary | |
---|---|
RBN()
Creates new RBN |
|
RBN(int i)
|
|
RBN(RBN toCopy)
|
|
RBN(java.lang.String filename)
|
Method Summary | |
---|---|
java.lang.String[] |
args(Rel r)
Returns the argument tuple for the ProbForm for r |
java.lang.String[] |
ArgsAt(int i)
|
java.lang.String[] |
argumentsAt(int i)
|
RBNpackage.RBNelement[] |
elements()
|
void |
InsertArguments(java.lang.String[] ags,
int i)
|
void |
InsertProbForm(ProbForm pf,
int i)
|
void |
insertRel(Rel r,
int i)
|
boolean |
multlinOnly()
|
java.lang.String |
NameAt(int i)
|
int |
NumPFs()
|
java.lang.String[] |
parameters()
Returns all the parameters contained in probability formulas in the RBN. |
ProbForm |
probForm(Rel r)
Returns the probability formula for relation r |
ProbForm |
ProbFormAt(int i)
|
Rel |
relAt(int i)
|
Rel[] |
Rels()
|
void |
saveToFile(java.io.File rbnfile)
|
void |
setParameters(java.lang.String[] params,
double[] values)
Sets all occurrences of parameters appearing in params to their corresponding value in values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RBN()
public RBN(int i)
public RBN(java.lang.String filename)
public RBN(RBN toCopy)
Method Detail |
---|
public RBNpackage.RBNelement[] elements()
public java.lang.String[] argumentsAt(int i)
public boolean multlinOnly()
public int NumPFs()
public Rel[] Rels()
public Rel relAt(int i)
public ProbForm ProbFormAt(int i)
public ProbForm probForm(Rel r)
public java.lang.String NameAt(int i)
public java.lang.String[] ArgsAt(int i)
public java.lang.String[] args(Rel r)
public void insertRel(Rel r, int i)
public void InsertArguments(java.lang.String[] ags, int i)
public void InsertProbForm(ProbForm pf, int i)
public java.lang.String[] parameters()
public void saveToFile(java.io.File rbnfile)
public void setParameters(java.lang.String[] params, double[] values)
params
- values
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |