org.omegahat.Simulation.MCMC
Class CustomGibbsSampler

java.lang.Object
  |
  +--org.omegahat.Simulation.MCMC.NotifyingMCMCObject
        |
        +--org.omegahat.Simulation.MCMC.BaseMarkovChain
              |
              +--org.omegahat.Simulation.MCMC.CustomMarkovChain
                    |
                    +--org.omegahat.Simulation.MCMC.CustomGibbsSampler
All Implemented Interfaces:
MarkovChain, NotifyingObject, java.lang.Runnable

public class CustomGibbsSampler
extends CustomMarkovChain

A Gibbs Sampler that uses an internal FullConditionalProposal to generate the next Markov state.


Inner Class Summary
static class CustomGibbsSampler.listenerPrinter
           
static class CustomGibbsSampler.NormalGenerator
           
 
Inner classes inherited from class org.omegahat.Simulation.MCMC.CustomMarkovChain
CustomMarkovChain.listenerPrinter, CustomMarkovChain.NormalGenerator
 
Inner classes inherited from class org.omegahat.Simulation.MCMC.NotifyingMCMCObject
NotifyingMCMCObject.MyHandle
 
Fields inherited from class org.omegahat.Simulation.MCMC.CustomMarkovChain
generator
 
Fields inherited from class org.omegahat.Simulation.MCMC.BaseMarkovChain
state
 
Fields inherited from class org.omegahat.Simulation.MCMC.NotifyingMCMCObject
listeners
 
Constructor Summary
CustomGibbsSampler(ContainerState state, FullConditionalProposal generator)
           
CustomGibbsSampler(java.lang.Object state, FullConditionalProposal generator)
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 
Methods inherited from class org.omegahat.Simulation.MCMC.CustomMarkovChain
generate
 
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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

CustomGibbsSampler

public CustomGibbsSampler(ContainerState state,
                          FullConditionalProposal generator)

CustomGibbsSampler

public CustomGibbsSampler(java.lang.Object state,
                          FullConditionalProposal generator)
Method Detail

main

public static void main(java.lang.String[] argv)