Class ConcurrentTSSimulator

All Implemented Interfaces:
Simulator

public final class ConcurrentTSSimulator extends SequentialTSSimulator
Simulator for concurrent time step simulation

This simulator calls all agents of a model at equidistant time steps. The doEventSim method of the agents is called in a concurrent mode and with no specific oder every timeStep.

This implementation is especially useful to run cellular automata.

  • Constructor Details

    • ConcurrentTSSimulator

      public ConcurrentTSSimulator(BasicDomain root, MessageForwardingStrategy forwarding)
    • ConcurrentTSSimulator

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

      Uses RecursiveMessageForwarding as default option.

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