djgroen / flee

flee agent-based modelling code
BSD 3-Clause "New" or "Revised" License
6 stars 7 forks source link

Allow for total number of agents to be spawned in each timestep to be conflict-dependent #69

Closed MDI-SCI closed 1 year ago

MDI-SCI commented 1 year ago

Rather than use the conflict weights to distribute a set number of agents over the locations in the network, it would be great to have this total number of agents that are spawned to be dependent on conflict as well as it is likely that more newly displaced people would be added to the network if there is conflict in many locations

djgroen commented 1 year ago

I've now incorporated this for all kinds of spawning and pushed. Awaiting the integration tests... :)

djgroen commented 1 year ago

Okay, the tests appear to pass, though there could still be bugs. @MDI-SCI would you like to test it on your side?

djgroen commented 1 year ago

I believe this is working, so I will close this for now at least.