Class SingleRunDataSetManager

java.lang.Object
repast.simphony.data2.AbstractDataSetManager
repast.simphony.data2.SingleRunDataSetManager
All Implemented Interfaces:
DataSetManager, RunListener

public class SingleRunDataSetManager extends AbstractDataSetManager
DataSetManager for single (i.e. non-batch) runs.
Author:
Nick Collier
  • Constructor Details

    • SingleRunDataSetManager

      public SingleRunDataSetManager()
  • Method Details

    • batchStarted

      public void batchStarted()
      Description copied from interface: DataSetManager
      Notifies this DataSetManager that the set of batch runs has started.
    • batchEnded

      public void batchEnded()
      Description copied from interface: DataSetManager
      Notifies this DataSetManager that the set of batch runs has ended.
    • runEnded

      public void runEnded(RunState runState, Object contextId)
      Description copied from interface: DataSetManager
      Notifies this DataSetManager that an individual run has ended.
      Specified by:
      runEnded in interface DataSetManager
      Overrides:
      runEnded in class AbstractDataSetManager
      Parameters:
      runState - the RunState of the run that just ended.
    • runStarted

      public void runStarted(RunState runState, Object contextId, Parameters parameters)
      Description copied from interface: DataSetManager
      Notifies this DataSetManager that an individual run has started.
      Specified by:
      runStarted in interface DataSetManager
      Overrides:
      runStarted in class AbstractDataSetManager
      Parameters:
      runState - the current RunState -- run number etc can be retrieved from that
      parameters - the current model parameters
    • isBatch

      public boolean isBatch()
      Description copied from interface: DataSetManager
      Gets whether or not this is a batch run.
      Returns:
      true if this is batch run otherwise false.