org.omegahat.Simulation.MCMC.Listeners
Class RecordingStepListener
java.lang.Object
|
+--org.omegahat.Simulation.MCMC.Listeners.ListenerPrinter
|
+--org.omegahat.Simulation.MCMC.Listeners.RecordingStepListener
- All Implemented Interfaces:
- MCMCListener
- public class RecordingStepListener
- extends ListenerPrinter
Displays contents and counter of RecordingStepEvents when one is recieved.
Field Summary |
protected boolean |
counter
|
protected java.util.Vector |
data
|
protected boolean |
debug
|
protected int |
step
|
Method Summary |
java.util.Vector |
data()
|
java.util.Vector |
data(java.util.Vector data)
|
boolean |
debug()
|
boolean |
debug(boolean debug)
|
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
protected int step
counter
protected boolean counter
data
protected java.util.Vector data
debug
protected boolean debug
RecordingStepListener
public RecordingStepListener()
RecordingStepListener
public RecordingStepListener(int size)
data
public java.util.Vector data()
data
public java.util.Vector data(java.util.Vector data)
debug
public boolean debug()
debug
public boolean debug(boolean debug)
notify
public void notify(MCMCEvent e)
- Description copied from interface:
MCMCListener
- Function to be called for notification
- Overrides:
notify
in class ListenerPrinter