StateTracker#
- class StateTracker(model, verbose=False, params=None)[source]#
Bases:
BaseStateTrackerAtate tracking component.
Tracks disease state populations over time in agent-based models. Records detailed temporal dynamics of S, I, R compartments at the patch level.
Initialize the component.
- Parameters:
model – The model instance this component belongs to.
verbose (
bool) – Whether to enable verbose output. Defaults to False.