|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMcmc
public class Mcmc
This class is a template for implementing the MCMC algorithm. You need to fill in the constructor and the runMoreIterations() method.
Constructor Summary | |
---|---|
Mcmc(BayesNet bn,
Query q)
This is the constructor for the class that you need to fill in. |
Method Summary | |
---|---|
double[] |
runMoreIterations(int n)
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mcmc(BayesNet bn, Query q)
Method Detail |
---|
public double[] runMoreIterations(int n)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |