laser.measles.abm.components.process_constant_pop
laser.measles.abm.components.process_constant_pop
Component defining the ConstantPopProcess, which handles the birth events in a model with constant population - that is, births == deaths.
laser.measles.abm.components.process_constant_pop.ConstantPopProcess(model, verbose=False, params=None)
Bases: BaseConstantPopProcess
A component to handle the birth events in a model with constant population - that is, births == deaths.
Attributes:
1 2 3 4 | |
Initialize the Births component.
Parameters:
1 2 3 | |
laser.measles.abm.components.process_constant_pop.ConstantPopProcess.__call__(model, tick)
Adds new agents to each patch based on expected daily births calculated from CBR. Calls each of the registered initializers for the newborns.
Args:
1 2 | |
Returns:
1 | |
This method performs the following steps:
1 | |