Class SequentialTSSimulator

java.lang.Object
org.simplesim.simulator.BasicSimulator
org.simplesim.simulator.SequentialTSSimulator
All Implemented Interfaces:
Simulator
Direct Known Subclasses:
ConcurrentTSSimulator

public class SequentialTSSimulator extends BasicSimulator
Simulator for sequential time step simulation

This simulator calls all agents of a model at equidistant time steps. The doEventSim method of the agents is called sequentially every timeStep.

This implementation is especially useful to run cellular automata.

  • Constructor Details

    • SequentialTSSimulator

      public SequentialTSSimulator(BasicDomain rt, MessageForwardingStrategy forwarding)
    • SequentialTSSimulator

      public SequentialTSSimulator(BasicDomain root)
      Quick start constructor of a sequential time-step simulator with a given model

      Uses RecursiveMessageForwarding as default option.

      Parameters:
      root - the root domain of the model
  • Method Details