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.
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 java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
step
public int step
counter
public boolean counter
StepListenerPrinter
public StepListenerPrinter()
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