Libraries‎ > ‎Library‎ > ‎Control‎ > ‎


BehaviourComposer: ignore everything before this.

Begin micro-behaviour:

Begin description:

Run micro-behaviours repeatedly where the interval between runs is re-computed each time.

End description

Do repeatedly

Begin NetLogo code:

substitute-text-area-for interval-reporter count all-individuals
do-every-dynamic [interval-reporter]
                 list-of-micro-behaviours "behaviours to repeat" []

End NetLogo code

How this works

This runs the behaviours and then repeatedly runs them again after the number of ticks obtained by running the interval-reporter (the contents of the text box).

Related micro-behaviours

If the behaviours are repeatedly at regular intervals do-every is simpler and faster. 


This was implemented by Ken Kahn on 2 June 2015.

BehaviourComposer: ignore everything after this.