workflowfm / proter

A discrete event simulator for asynchronous prioritized processes
http://docs.workflowfm.com/proter
Apache License 2.0
1 stars 0 forks source link

Stopping a simulation #28

Closed PetrosPapapa closed 3 years ago

PetrosPapapa commented 4 years ago

A Simulation needs to be stoppable, for instance through a stop() method.

The main motivation for this is to allow a finite time limit for the overall simulation, such that once a given timestamp is reached all active simulations will be stopped.

This might not be trivial for completely asynchronous simulations which we might not have control over. Having a requirement for them being "stoppable" does sound like a good idea generally though.

PetrosPapapa commented 4 years ago

Note to self: What about Coordinator logic for stopping a sim?