Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mrd.analysis
Class BatchRecorder  view BatchRecorder download BatchRecorder.java

java.lang.Object
  extended byorg.mrd.analysis.BatchRecorder

public class BatchRecorder
extends java.lang.Object


Field Summary
private  java.lang.String fileName
          Holds value of property fileName.
private  DataSource source
          Holds value of property source.
private  java.io.PrintWriter writer
           
 
Constructor Summary
BatchRecorder(java.lang.String fileName, DataSource source)
           
 
Method Summary
 void record()
          Records the data for the current tick in tabular format.
 void simEventPerformed(uchicago.src.sim.engine.SimEvent simEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileName

private java.lang.String fileName
Holds value of property fileName.


source

private DataSource source
Holds value of property source.


writer

private java.io.PrintWriter writer
Constructor Detail

BatchRecorder

public BatchRecorder(java.lang.String fileName,
                     DataSource source)
Method Detail

record

public void record()
Records the data for the current tick in tabular format. Each tick is a row, and each column is the name of the data source.


simEventPerformed

public void simEventPerformed(uchicago.src.sim.engine.SimEvent simEvent)