Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminate method #11

Open
artgoldberg opened this issue Jul 31, 2018 · 1 comment
Open

Terminate method #11

artgoldberg opened this issue Jul 31, 2018 · 1 comment
Assignees

Comments

@artgoldberg
Copy link
Contributor

Create a terminate() method for SimulationEngine.simulate(). A simulation can terminate in multiple ways, such as run out of events, exceed end time, trigger stop condition, or raise an exception. In some cases, it would be useful for a simulation run to perform certain actions before terminating. Example actions include:

  1. Before terminating take a checkpoint that could be used for debugging
  2. Open an interactive session that could be used to inspect the simulator

I imagine that terminate() could

  • execute some events scheduled for the end of the simulation
  • perform some tasks that are not simulation events
  • and exit
@artgoldberg
Copy link
Contributor Author

mv to de_sim

@artgoldberg artgoldberg transferred this issue from KarrLab/wc_sim Aug 19, 2019
@artgoldberg artgoldberg self-assigned this Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant