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

Parallelize DynActivityEngine.doSimStep() #3306

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

marecabo
Copy link
Contributor

@marecabo marecabo commented Jun 4, 2024

This change parallelizes the processing of DynAgents in DynActivityEngine.doSimStep().

This method is called in every simulation step(!) and when you simulate scenarios with a lot of dynamic agents, it will slow your simulation down a lot.

I followed all methods which are now called in parallel and found them to be thread-safe.

@marecabo marecabo force-pushed the parallel-dynactivityengine branch 2 times, most recently from 50c5207 to f15f48f Compare June 8, 2024 11:25
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

Successfully merging this pull request may close these issues.

1 participant