You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might have to do with the deepcopying of agents when explode_agents gets called. One way to reduce this time would be to reduce num_by_type parameter, to maybe 2 just for simple testing of the feature.
You might be right. But I am surprised that deepcopying takes so long. Have you timed it? I know you mentioned it.
If that is the bottleneck, there may be more efficient ways to create multiple identical agents (like, building them all with the AgentType constructor).
Yes, reducing num_by_type for the test would make sense. But
The automated tests in test_simulation.py hang for an unusually long amount of time.
Would be good to trim this down somehow.
The text was updated successfully, but these errors were encountered: