In a multi-level model, this function allows an agent of a sub-model to move to a different sub-model. Agents can also move to and from the top-level model, for example if agents can join firms or exit them to compete as independent contractors. Note that the agent’s primitive must have been registered in the destination agent as well.
This function can be hooked with agentTransfer.
Parameters
dest — Helipad, required
The model to which to move the agent. This may be the top-level model or a
MultiLevel
agent.
Notes and Examples