Libraries‎ > ‎Epidemics‎ > ‎

Schedule non-targeted vaccination

BehaviourComposer: ignore everything before this.
I schedule a vaccination of a number of susceptible individuals selected randomly.
Begin micro-behaviour

Schedule non-targeted vaccination

Begin NetLogo code:
substitute-text-area-for columns: 69 time-of-vaccination 1
substitute-text-area-for columns: 49 number-vaccinated 20

do-at-time time-of-vaccination
   [add-behaviours-to select-n number-vaccinated all-susceptibles 
                      list-of-micro-behaviours "Vaccination Behaviours" []]
End NetLogo code

Variants

You can edit the text areas to change the number of people vaccinated or to delay the timing of the vaccination.

Related behaviours

Vaccinate most highly connected individuals differs from this behaviour in that it targets the highly connected individuals.

How this works

This schedules the addition of vaccination behaviours to a random selection of the susceptible population.

History

This was implemented by Ken Kahn on 3 February 2011.

BehaviourComposer: ignore everything after this.
Comments