Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.sim.analysis
Interface Recorder

All Superinterfaces:
  SimEventListener

All Known Subinterfaces:
  DataSourceRecorder

All Known Implementing Classes:
  AbstractDataSourceRecorder, DataRecorder, DistributedDataRecorder, LocalDataRecorder

    public interface Recorder

extends SimEventListener

Created by IntelliJ IDEA. User: thowe Date: Jan 2, 2003 Time: 12:23:55 PM To change this template use Options | File Templates.

Method Summary
`void` | `record()` Records the data for the current tick in tabular format.
`void` | `simEventPerformed(SimEvent evt)`
`void` | `write()` Writes the recorded data out to a file in tabular format.
`void` | `writeEnd()` Writes any ending matter to the file.
`void` | `writeToFile()`

Method Detail

### record

    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.

### write

    void write()

  Writes the recorded data out to a file in tabular format. This also does a flush on the data itself (i.e. the data is no longer stored by repast and exists only in the file). Identical to writeToFile().

### writeEnd

    void writeEnd()

  Writes any ending matter to the file. Used internally during a batch run to write the ending time of the entire batch. A model would not typically call this method.

### simEventPerformed

    void simEventPerformed(SimEvent evt)

  Specified by:
    `simEventPerformed` in interface `SimEventListener`

### writeToFile

    void writeToFile()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD