MRC-CSO-SPHSU / LoneParentsModel.jl

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

add babies to population, families, links #76

Closed mhinsch closed 2 years ago

mhinsch commented 2 years ago

@AtiyahElsheikh I'll do that unless you already have started on it.

AtiyahElsheikh commented 2 years ago

The routine doBirths() (already pushed to develop) returns the new babies. The family links are estbalished within the function via the cor, see this line.

mhinsch commented 2 years ago

Right, I didn't see the internal constructor in Person.

AtiyahElsheikh commented 2 years ago

Need to mention, the population is re-computed outside the routine by the caller. So is the case also with doDeaths!()

mhinsch commented 2 years ago

Yes, I'm doing that in LPM as well now.