Go back to IBMFEM
Epidemiological Modeling Individuals
In addition to Pathogens, the other class that is crucial for epidemic modeling is SimEMIndividual, which defines an agent that can carry and transmit a pathogen.
- Infection states: for each pathogen, there is a corresponding infection state in a SimEMIndividual that records which SimInfectionStage (see Pathogens) it is in.
- Immune system: SimImmuneSystem is a class that defines how the individual should respond to a challenge of a pathogen. By default, there is no immunity.
- A SimInfectionHistory class, which is a subclass of SimImmuneSystem, is defined that represents long-long immunity for an individual against all the previously infected diseases.
Files
- The definitions simemindividual.h
- The implementation simemindividual.cpp