treat_num#
- class treat_num(max_capacity=None, **kwargs)[source]#
Bases:
BaseTreatment
Treat a fixed number of people each timestep.
- Parameters:
max_capacity (int) – maximum number who can be treated each timestep
Attributes
now
Return the current time, i.e. the time vector at the current timestep.
states
Return a flat list of all states
statesdict
Return a flat dictionary (objdict) of all states
Methods