Reference 〉 Function

baseAgent.die()

Removes the agent from the model’s list of active agents and cuts the agent’s edges.

This function also decrements the pseudo-parameter for the agent’s primitive population. For this reason it has one optional argument for internal use that should not be used in user code.

This function can be hooked with agentDie.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.