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
           
 
Constructor Summary
RecordingStepListener()
           
RecordingStepListener(int size)
           
 
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 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

protected int step

counter

protected boolean counter

data

protected java.util.Vector data

debug

protected boolean debug
Constructor Detail

RecordingStepListener

public RecordingStepListener()

RecordingStepListener

public RecordingStepListener(int size)
Method Detail

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