org.omegahat.Simulation.MCMC.Listeners
Class PlottingListener

java.lang.Object
  |
  +--org.omegahat.Simulation.MCMC.Listeners.ListenerPrinter
        |
        +--org.omegahat.Simulation.MCMC.Listeners.ArrayListener
              |
              +--org.omegahat.Simulation.MCMC.Listeners.PlottingListener
All Implemented Interfaces:
MCMCListener
Direct Known Subclasses:
ExpandingPlottingListener

public class PlottingListener
extends ArrayListener

Displays contents and counter of RecordingIndexEvents when one is recieved.


Field Summary
(package private)  org.omegahat.Simulation.MCMC.Listeners.Scatterplot[] plots
           
(package private)  org.omegahat.Simulation.MCMC.Listeners.SwingDeviceWindow[] plotWindows
           
(package private)  int refreshInterval
           
 
Fields inherited from class org.omegahat.Simulation.MCMC.Listeners.ArrayListener
data, debug, index, time, varNames
 
Constructor Summary
PlottingListener(java.lang.String[] varNames)
           
PlottingListener(java.lang.String[] varNames, int size)
           
 
Method Summary
 void notify(MCMCEvent e)
          Function to be called for notification
 org.omegahat.Simulation.MCMC.Listeners.Scatterplot[] plots()
           
 org.omegahat.Simulation.MCMC.Listeners.SwingDeviceWindow[] plotWindows()
           
 int refreshInterval()
           
 int refreshInterval(int delay)
           
 
Methods inherited from class org.omegahat.Simulation.MCMC.Listeners.ArrayListener
data, data, debug, debug, time, varNames
 
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

plotWindows

org.omegahat.Simulation.MCMC.Listeners.SwingDeviceWindow[] plotWindows

plots

org.omegahat.Simulation.MCMC.Listeners.Scatterplot[] plots

refreshInterval

int refreshInterval
Constructor Detail

PlottingListener

public PlottingListener(java.lang.String[] varNames)

PlottingListener

public PlottingListener(java.lang.String[] varNames,
                        int size)
Method Detail

refreshInterval

public int refreshInterval()

refreshInterval

public int refreshInterval(int delay)

plotWindows

public org.omegahat.Simulation.MCMC.Listeners.SwingDeviceWindow[] plotWindows()

plots

public org.omegahat.Simulation.MCMC.Listeners.Scatterplot[] plots()

notify

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