B E G M N P Q R V

B

BayesNet - Class in <Unnamed>
This class loads a Bayes net from a data file.
BayesNet(String) - Constructor for class BayesNet
A constructor for constructing a Bayes net by reading in a description from the given data file.

E

evidence - Variable in class Query
An array specifying the settings of the evidence variables.

G

getCondProb(int, int[]) - Method in class BayesNet
This method can be used to access the conditional probability table of each of the variables.

M

main(String[]) - Static method in class RunMcmc
This is a simple main that you can use for testing.
Mcmc - Class in <Unnamed>
This class is a template for implementing the MCMC algorithm.
Mcmc(BayesNet, Query) - Constructor for class Mcmc
This is the constructor for the class that you need to fill in.

N

numParents - Variable in class BayesNet
The number of parents of each variable.
numValues - Variable in class BayesNet
The number of values that each variable can take.
numVariables - Variable in class BayesNet
The number of variables.

P

parents - Variable in class BayesNet
The parents of each of the variables.

Q

Query - Class in <Unnamed>
This class can be used for reading in queries either from files or from standard input.
Query(BayesNet) - Constructor for class Query
Use this constructor to read a query from standard input.
Query(BayesNet, String) - Constructor for class Query
Use this constructor to read a query from a data file.
queryVar - Variable in class Query
The variable whose value is being queried.

R

RunMcmc - Class in <Unnamed>
This class contains a main for running MCMC and printing the results periodically.
RunMcmc() - Constructor for class RunMcmc
 
runMoreIterations(int) - Method in class Mcmc
This method, which must be filled in, runs n additional iterations of the MCMC algorithm on the Bayes net and query that were specified when this object was constructed.

V

valueNames - Variable in class BayesNet
The names of the values of each variable.
varName - Variable in class BayesNet
The names of each of the variables.

B E G M N P Q R V