Calculate the time elapsed in days since each person's last dose or infection

get_time_since_last_dose_or_infection(
  timestep,
  dt,
  vaccinated_or_infected,
  dose_time,
  inf_time
)

Arguments

timestep

current time step

dt

size of time step

vaccinated_or_infected

individual::Bitset of vaccinated persons

dose_time

an individual::IntegerVariable object

inf_time

an individual::IntegerVariable object