MRC-CSO-SPHSU / LoneParentsModel.jl

An initial implementation of an ABM for social and child care
0 stars 4 forks source link

consistent handling of dead agents #116

Closed mhinsch closed 1 year ago

mhinsch commented 1 year ago

I think dead agents should be removed from the population, but not from permanent links between agents (father, mother, children; transient ones like partner would be a bit annoying to handle, so I guess we'll just have to drop dead agents there). So, at any time it should only be necessary to check if an agent is alive if it is accessed via permanent family links.

If necessary we can still add a separate list of dead agents in the future.