Class OneRunBatchRunner

java.lang.Object
repast.simphony.batch.OneRunBatchRunner
All Implemented Interfaces:
RunListener

public class OneRunBatchRunner extends Object implements RunListener
Runs a simulation in batch mode.
Author:
Nick Collier
  • Field Details

    • controller

      protected repast.simphony.batch.OneRunBatchRunner.ORBController controller
    • pause

      protected boolean pause
    • monitor

      protected Object monitor
    • producer

      protected SweeperProducer producer
  • Constructor Details

  • Method Details

    • batchInit

      public void batchInit()
    • batchCleanup

      public void batchCleanup()
    • run

      public void run(int runNum, Parameters params)
    • keepRunning

      protected boolean keepRunning()
    • waitForRun

      protected void waitForRun()
    • notifyMonitor

      protected void notifyMonitor()
    • paused

      public void paused()
      Invoked when the current run has been paused.
      Specified by:
      paused in interface RunListener
    • restarted

      public void restarted()
      Invoked when the current run has been restarted after a pause.
      Specified by:
      restarted in interface RunListener
    • started

      public void started()
      Invoked when the current run has been started.
      Specified by:
      started in interface RunListener
    • stopped

      public void stopped()
      Invoked when the current run has been stopped. This will stop this thread from waiting for the current run to finish.
      Specified by:
      stopped in interface RunListener