sequence_threaded.py is currently being modified so that the simulation, visuals and audio run on independent threads (the current version has the agents' sound in the simulation thread and the background sound in the visual thread).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ernesto and I just added a sequence called experimental, there we added a method to be run as a thread that computes the agents, and an alternative one meant to be run as a thread that computes a single agent, so that each agent runs on a separate thread. We also added an option to specificAlpha which switches between the two.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A couple of precisions:
1) "we added a method to be run as a thread that computes the agents" is not accurate. Those methods already existed.
2) The chages in specificAlpha also exist on specificBeta, specificDelta, specificEpsilon and specificEnvironment. They don't affect sequences that lack single threaded agents.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sequence_threaded.py is currently being modified so that the simulation, visuals and audio run on independent threads (the current version has the agents' sound in the simulation thread and the background sound in the visual thread).
Ernesto and I just added a sequence called experimental, there we added a method to be run as a thread that computes the agents, and an alternative one meant to be run as a thread that computes a single agent, so that each agent runs on a separate thread. We also added an option to specificAlpha which switches between the two.
A couple of precisions:
1) "we added a method to be run as a thread that computes the agents" is not accurate. Those methods already existed.
2) The chages in specificAlpha also exist on specificBeta, specificDelta, specificEpsilon and specificEnvironment. They don't affect sequences that lack single threaded agents.