InfectionProcess#
- class InfectionProcess(model, verbose=False, params=None)[source]#
Bases:
BaseInfectionProcessCombined infection process that orchestrates transmission and disease progression.
This component provides a unified interface for both disease transmission (handled by TransmissionProcess) and disease progression through states (handled by DiseaseProcess), similar to the biweekly model’s InfectionProcess but for agent-based modeling.
Initialize the combined infection process.
- Parameters:
model (
ABMModel) – The model object that contains the patches and parameters.verbose (
bool) – If True, enables verbose output. Defaults to False.params (
InfectionParams|None) – Combined parameters for both transmission and disease processes.