When called from inside an agentStep
or match
hook, tells Helipad to skip stepping the rest of the agents that stage and proceed to the next (or to the next period in single-stage models). For example, in a model testing if any agent will succeed in a period, there is no need to step through further agents that period once one does, and the rest can be skipped.
In multi-stage models, cutStep
proceeds to the next stage of the period. If cutStep()
is called in a modelStep
hook, no agents will be stepped that stage. The function has no effect in other hooks.
charwick
Jul 01, 2022 at 5:55In this model, all agents must succeed in order for the success condition to be met. If any agent fails, we can just skip to the next period.