epiverse-trace / epidemics

A library of published compartmental epidemic models, and classes to represent demographic structure, non-pharmaceutical interventions, and vaccination regimes, to compose epidemic scenarios.
https://epiverse-trace.github.io/epidemics/
Other
8 stars 2 forks source link

ODE model functions should accept list of model component sets #167

Closed pratikunterwegs closed 5 months ago

pratikunterwegs commented 6 months ago

This issue is to request that model functions should accept lists of intervention and vaccination (collectively called model component sets).

intervention_set_01 = list(school_closure, mask_mandate)
intervention_set_02 = list(workplace_closure, mask_mandate, therapeutic_rollout)

model_default_cpp(
  population,
  intervention = list(intervention_set_01, intervention_set_02)
)