org.omegahat.Simulation.MCMC
Interface MarkovChain

All Known Subinterfaces:
GibbsSampler, HastingsCoupledSampler, MetropolisHastingsSampler, MetropolisSampler
All Known Implementing Classes:
BaseMarkovChain

public interface MarkovChain

A Markov Chain.

Markov Chains have a current state and generate a new state based only on the current state. Its state can only be set at instantiation.


Method Summary
 MCMCState getState()
          Get the current state of the Markov Chain.
 void iterate(int n)
          Perform several steps.
 void step()
          Generate the next state from the current state.
 

Method Detail

getState

public MCMCState getState()
Get the current state of the Markov Chain.

step

public void step()
Generate the next state from the current state.

iterate

public void iterate(int n)
Perform several steps.
Parameters:
n - how many steps