NetLogo / LevelSpace

This is the LevelSpace extension repository. LevelSpace allows you to run NetLogo models |: from inside NetLogo models :|
Other
19 stars 8 forks source link

Headless models that can run on the parent's jobthread should under certain conditions #114

Closed qiemem closed 6 years ago

qiemem commented 6 years ago

Right now, all "ask"ed models run in parallel, which is great when there are lots of models running long running tasks. But this is slow when running few models or fast tasks.

Models can be run on the parent's job thread if they are 1) headless and 2) not running levelspace (though they might be able to even then if all descendants are headless; needs testing).

This is super important because asking models one at a time is really handy sometimes, such as when each turtle has a model that it needs to pass information to.