|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectQuery
public class Query
This class can be used for reading in queries either from files or from standard input. The query itself is stored in public fields.
Field Summary | |
---|---|
int[] |
evidence
An array specifying the settings of the evidence variables. |
int |
queryVar
The variable whose value is being queried. |
Constructor Summary | |
---|---|
Query(BayesNet bn)
Use this constructor to read a query from standard input. |
|
Query(BayesNet bn,
java.lang.String filename)
Use this constructor to read a query from a data file. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int queryVar
public int[] evidence
Constructor Detail |
---|
public Query(BayesNet bn) throws java.io.IOException
java.io.IOException
public Query(BayesNet bn, java.lang.String filename) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |