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 1substitute-text-area-for columns: 49 number-vaccinated 20do-at-time time-of-vaccination [add-behaviours-to select-n number-vaccinated all-susceptibles list-of-micro-behaviours "Vaccination Behaviours" []] End NetLogo code VariantsYou can edit the text areas to change the number of people vaccinated or to delay the timing of the vaccination. Related behavioursVaccinate most highly connected individuals differs from this behaviour in that it targets the highly connected individuals.How this worksThis schedules the addition of vaccination behaviours to a random selection of the susceptible population. HistoryThis was implemented by Ken Kahn on 3 February 2011. BehaviourComposer: ignore everything after this. |