|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omegahat.Simulation.MCMC.NotifyingMCMCObject | +--org.omegahat.Simulation.MCMC.BaseMarkovChain | +--org.omegahat.Simulation.MCMC.Examples.SimpleMarkovChain
A simple Markov Chain example. It simply generates its next state from N(0,1) regardless of the current state.
Inner Class Summary | |
protected class |
SimpleMarkovChain.doubleState
|
static class |
SimpleMarkovChain.listenerPrinter
|
Inner classes inherited from class org.omegahat.Simulation.MCMC.NotifyingMCMCObject |
NotifyingMCMCObject.MyHandle |
Field Summary | |
protected Normal |
norm
|
protected PRNG |
prng
|
Fields inherited from class org.omegahat.Simulation.MCMC.BaseMarkovChain |
state |
Fields inherited from class org.omegahat.Simulation.MCMC.NotifyingMCMCObject |
listeners |
Constructor Summary | |
SimpleMarkovChain(PRNG prng)
|
Method Summary | |
MCMCState |
generate(MCMCState ignored)
Generate the next state from the current one |
static void |
main(java.lang.String[] argv)
|
Methods inherited from class org.omegahat.Simulation.MCMC.BaseMarkovChain |
getState, iterate, run, step |
Methods inherited from class org.omegahat.Simulation.MCMC.NotifyingMCMCObject |
notifyAll, registerListener, unregisterListener |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected PRNG prng
protected Normal norm
Constructor Detail |
public SimpleMarkovChain(PRNG prng)
Method Detail |
public MCMCState generate(MCMCState ignored)
BaseMarkovChain
generate
in class BaseMarkovChain
public static void main(java.lang.String[] argv)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |