|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.ngram.bayes.SaveBugs
public class SaveBugs
| Field Summary | |
|---|---|
(package private) BayesNet |
bn
|
| Constructor Summary | |
|---|---|
SaveBugs(BayesNet b_n)
Default constructor for a SaveBUGS object. |
|
| Method Summary | |
|---|---|
private void |
print_data_in(java.io.PrintStream pstream)
Indicate which file contains the data; note that the data is appended to the given pstream, so this space is left to be filled by the user. |
private void |
save_data(java.io.PrintStream pstream)
The numeric values for the distributions, saved in the Splus format understood by BUGS. |
private void |
save_model(java.io.PrintStream pstream)
Save the name of the network in BUGS format. |
private void |
save_structure(java.io.PrintStream pstream)
The parenthood relationships in the network. |
private void |
save_variables(java.io.PrintStream pstream)
Declare all the variables used in the network. |
void |
save(java.io.PrintStream pstream)
Save a BayesNet in a stream in the BUGS format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
BayesNet bn
| Constructor Detail |
|---|
public SaveBugs(BayesNet b_n)
| Method Detail |
|---|
public void save(java.io.PrintStream pstream)
private void save_model(java.io.PrintStream pstream)
private void save_variables(java.io.PrintStream pstream)
private void print_data_in(java.io.PrintStream pstream)
private void save_structure(java.io.PrintStream pstream)
private void save_data(java.io.PrintStream pstream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||