Susceptibility base class has a duplicate age data member to use in biting-risk calculations (in derived vector class) and red-blood-cell production calculations (in derived malaria class).
In switching to a composition-not-inheritance pattern, we need a way to store and update variables like "age" in a different object that's accessible to the intrahost RBC calculations.
Susceptibility base class has a duplicate
agedata member to use in biting-risk calculations (in derived vector class) and red-blood-cell production calculations (in derived malaria class).In switching to a composition-not-inheritance pattern, we need a way to store and update variables like "age" in a different object that's accessible to the intrahost RBC calculations.