sir.util
Class MyStrippedListenerWriter

java.lang.Object
  extended byorg.omegahat.Simulation.MCMC.Listeners.ListenerWriter
      extended bysir.util.MyStrippedListenerWriter
All Implemented Interfaces:
org.omegahat.Simulation.MCMC.MCMCListener, org.omegahat.Simulation.MCMC.Listeners.MCMCListenerWriter

public class MyStrippedListenerWriter
extends org.omegahat.Simulation.MCMC.Listeners.ListenerWriter

Slightly modified class to enable writing of header to the file

Version:
28 February 2002
Author:
Michael Höhle

Field Summary
 
Fields inherited from class org.omegahat.Simulation.MCMC.Listeners.ListenerWriter
out, storeTime
 
Constructor Summary
protected MyStrippedListenerWriter()
           
  MyStrippedListenerWriter(java.lang.String filename)
           
  MyStrippedListenerWriter(java.lang.String filename, boolean append)
           
  MyStrippedListenerWriter(java.lang.String filename, boolean append, boolean storeTime)
           
 
Method Summary
 java.lang.String doString(java.lang.Object current)
           
 void notify(org.omegahat.Simulation.MCMC.MCMCEvent e)
          Function to be called for notification
 void print(java.lang.String ignored)
           
 void println(java.lang.String ignored)
           
 void writeHeader(java.lang.String header)
          Method to write the header of the log file, i.e. column names and stuff
 
Methods inherited from class org.omegahat.Simulation.MCMC.Listeners.ListenerWriter
close, finalize, flush
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyStrippedListenerWriter

protected MyStrippedListenerWriter()
                            throws java.io.IOException

MyStrippedListenerWriter

public MyStrippedListenerWriter(java.lang.String filename,
                                boolean append,
                                boolean storeTime)
                         throws java.io.IOException

MyStrippedListenerWriter

public MyStrippedListenerWriter(java.lang.String filename,
                                boolean append)
                         throws java.io.IOException

MyStrippedListenerWriter

public MyStrippedListenerWriter(java.lang.String filename)
                         throws java.io.IOException
Method Detail

doString

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

notify

public void notify(org.omegahat.Simulation.MCMC.MCMCEvent e)
Description copied from interface: org.omegahat.Simulation.MCMC.MCMCListener
Function to be called for notification


writeHeader

public void writeHeader(java.lang.String header)
Method to write the header of the log file, i.e. column names and stuff


println

public void println(java.lang.String ignored)

print

public void print(java.lang.String ignored)