org.omegahat.Simulation.MCMC
Class DetailHastingsCoupledStepEvent

java.lang.Object
  |
  +--org.omegahat.Simulation.MCMC.GenericMCMCEvent
        |
        +--org.omegahat.Simulation.MCMC.GenericChainEvent
              |
              +--org.omegahat.Simulation.MCMC.GenericChainStepEvent
                    |
                    +--org.omegahat.Simulation.MCMC.DetailChainStepEvent
                          |
                          +--org.omegahat.Simulation.MCMC.DetailHastingsCoupledStepEvent
All Implemented Interfaces:
MCMCEvent

public class DetailHastingsCoupledStepEvent
extends DetailChainStepEvent


Field Summary
 java.lang.Object currentComponent
           
 java.lang.Object lastComponent
           
 int numSamplers
           
 int[] order
           
 java.lang.Object proposedComponent
           
 boolean showAllStates
           
 int which
           
 
Fields inherited from class org.omegahat.Simulation.MCMC.DetailChainStepEvent
accepted, acceptRand, acceptRate, forwardProb, last, lastProb, probAccept, proposed, proposedProb, reverseProb
 
Fields inherited from class org.omegahat.Simulation.MCMC.GenericChainStepEvent
current
 
Fields inherited from class org.omegahat.Simulation.MCMC.GenericMCMCEvent
description, source
 
Constructor Summary
DetailHastingsCoupledStepEvent()
          only for inheriting classes
DetailHastingsCoupledStepEvent(java.lang.Object source, MCMCState current, MCMCState proposed, MCMCState last, double lastProb, double proposedProb, double forwardProb, double reverseProb, double probAccept, double acceptRand, boolean accepted, double acceptRate, int numSamplers, int[] order, int which, java.lang.Object currentComponent, java.lang.Object proposedComponent, java.lang.Object lastComponent)
           
 
Method Summary
protected  java.lang.String arrayToString(java.lang.Object contents)
           
 MCMCState getCurrent()
           
 java.lang.String toString()
           
 
Methods inherited from class org.omegahat.Simulation.MCMC.GenericChainStepEvent
setCurrent
 
Methods inherited from class org.omegahat.Simulation.MCMC.GenericMCMCEvent
getDescription, getSource, setDescription, setSource
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

order

public int[] order

numSamplers

public int numSamplers

which

public int which

currentComponent

public java.lang.Object currentComponent

proposedComponent

public java.lang.Object proposedComponent

lastComponent

public java.lang.Object lastComponent

showAllStates

public boolean showAllStates
Constructor Detail

DetailHastingsCoupledStepEvent

public DetailHastingsCoupledStepEvent()
only for inheriting classes

DetailHastingsCoupledStepEvent

public DetailHastingsCoupledStepEvent(java.lang.Object source,
                                      MCMCState current,
                                      MCMCState proposed,
                                      MCMCState last,
                                      double lastProb,
                                      double proposedProb,
                                      double forwardProb,
                                      double reverseProb,
                                      double probAccept,
                                      double acceptRand,
                                      boolean accepted,
                                      double acceptRate,
                                      int numSamplers,
                                      int[] order,
                                      int which,
                                      java.lang.Object currentComponent,
                                      java.lang.Object proposedComponent,
                                      java.lang.Object lastComponent)
Method Detail

arrayToString

protected java.lang.String arrayToString(java.lang.Object contents)

toString

public java.lang.String toString()
Overrides:
toString in class DetailChainStepEvent

getCurrent

public MCMCState getCurrent()
Overrides:
getCurrent in class GenericChainStepEvent