Source code for laser_measles.compartmental.components.tracker_state

"""
Component for tracking the state of the population in the compartmental model.
"""

from laser_measles.components import BaseStateTracker
from laser_measles.components import BaseStateTrackerParams


class StateTrackerParams(BaseStateTrackerParams):
    """
    Parameters for State tracking component.

    Inherits all parameters from BaseStateTrackerParams with
    ABM-specific defaults and validation.
    """


[docs] class StateTracker(BaseStateTracker): """ Atate tracking component. Tracks disease state populations over time in agent-based models. Records detailed temporal dynamics of S, E, I, R compartments at the patch level. """