org.omegahat.Simulation.MCMC.Listeners
Class StepListenerPrinter

java.lang.Object
  |
  +--org.omegahat.Simulation.MCMC.Listeners.ListenerPrinter
        |
        +--org.omegahat.Simulation.MCMC.Listeners.StepListenerPrinter
All Implemented Interfaces:
MCMCListener

public class StepListenerPrinter
extends ListenerPrinter

Displays contents and counter of ChainStepEvents when one is recieved.


Field Summary
 boolean counter
           
 int step
           
 
Constructor Summary
StepListenerPrinter()
           
 
Method Summary
protected  java.lang.String arrayToString(java.lang.Object contents)
           
 java.lang.String doString(java.lang.Object current)
           
 void notify(MCMCEvent e)
          Function to be called for notification
 
Methods inherited from class org.omegahat.Simulation.MCMC.Listeners.ListenerPrinter
reset
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

step

public int step

counter

public boolean counter
Constructor Detail

StepListenerPrinter

public StepListenerPrinter()
Method Detail

arrayToString

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

doString

public java.lang.String doString(java.lang.Object current)

notify

public void notify(MCMCEvent e)
Description copied from interface: MCMCListener
Function to be called for notification
Overrides:
notify in class ListenerPrinter