Libraries‎ > ‎Epidemics‎ > ‎

Initial infected population

BehaviourComposer: ignore everything before this.
I create a population of infected individuals. A slider determines the number of individuals.
Begin micro-behaviour

Initial infected population

Begin NetLogo code:
add-copies the-initial-infected-population
           list-of-micro-behaviours "Infection Behaviours" []
End NetLogo code

How this works

This adds copies of the prototype this is added to (typically Person) with the additional behaviours listed.

History

This was implemented on 3 February 2011. 

BehaviourComposer: ignore everything after this.
Comments