metawards.iterators.iterate_working_week¶
-
metawards.iterators.
iterate_working_week
(population: metawards._population.Population, **kwargs)[source]¶ This returns the default list of ‘advance_XXX’ functions that are called in sequence for each iteration of the model run. This iterator understands the concept of a traditional working week, namely Monday-Friday is a work day, while Saturday and Sunday are weekends
- Parameters
population (Population) – The population experiencing the outbreak. This includes information about the day and date of the outbreak
- Returns
funcs – The list of functions that
`iterate`
will call in sequence- Return type
List[function]