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

Add two-dose vaccination #53

Closed pratikunterwegs closed 1 year ago

pratikunterwegs commented 1 year ago

This issue is to request that the vaccination class be updated to allow multiple doses of vaccination. This is to facilitate the addition of the two-dose vaccination Vacamole model to {epidemics}, see issue #44.

This involves:

  1. Updating the class member nu to be a matrix, with column $i$ representing dose $i$, and rows representing demographic groups.
  2. Updating the class members time_begin and time_end to be matrices, with column $i$ representing the start or end time of dose $i$, and each row representing demographic groups.