BehaviourComposer: ignore everything before this. Begin micro-behaviour: Begin description: Define experiment reporters. End description Experiment reporters Begin NetLogo code: to-report orbits-ok ifelse the-body-out-of-range = 0 [report "orbits-ok" ] [report [kind] of the-body-out-of-range]endto-report years-ok ifelse the-year-length-out-of-range = 0 [report "years-ok" ] [report [kind] of the-year-length-out-of-range]endto-report experiment-stop report the-body-out-of-range != 0 or the-year-length-out-of-range != 0end End NetLogo code Authored by Maria Marinari and Ken Kahn. BehaviourComposer: ignore everything after this. |