Class BasicSimulator

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

public abstract class BasicSimulator extends Object implements Simulator
Implements the core functionality of a simulator.
  • Constructor Details

    • BasicSimulator

      public BasicSimulator(BasicDomain root, EventQueue<Agent> queue, MessageForwardingStrategy forwarding)
      Constructs a new simulator with given model, queue implementation and messaging strategy
      Parameters:
      root - the root domain of the model
      queue - the queue implementation to use as global event queue
      forwarding - the strategy to use for message forwarding
  • Method Details