MRC-CSO-SPHSU / LoneParentsModel.jl

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

Do births #70

Closed AtiyahElsheikh closed 2 years ago

AtiyahElsheikh commented 2 years ago

Women with young childern of age <= 1 should not give birth Additional checks for assumptions Efficiency will be attempted in a future iteration

mhinsch commented 2 years ago

youngestAliveChild sounds as if it returns the youngest child, not its age. Maybe name it ageYoungestChild?

mhinsch commented 2 years ago

And a general remark - the in operator is really, really slow with vectors (has to check all elements).