BehaviourComposer: ignore everything before this.When there are no longer any susceptible individuals stop and add to the log. Begin micro-behaviour Stop when no one is susceptible Begin NetLogo code: when [not any? all-susceptibles and time >= 1] [add-behaviours list-of-micro-behaviours "Behaviours when no one left to infect" []] End NetLogo code Variantstext Related behavioursStop when no one infected stops when there is no longer anyone who can infect. How this worksThis runs the Behaviours when no one left to infected when there are no longer any susceptible individuals. HistoryThis was implemented by Ken Kahn on 3 February 2011. BehaviourComposer: ignore everything after this. |