DIE {MoLE}R Documentation

Kill agents

Description

After a prespecified number of utterances (and after having given birth to a new generation of speakers), agents are removed from the (actively speaking) population. Death agents are stored in the graveyard for later inspection.

Usage

DIE(agentID)

Arguments

agentID

Pointer to agent whose death is considered.

Details

DIE is called at the end of each turn, but only applies if the agent is old enough.

Value

New entry in graveyard.

Author(s)

Sander Lestrade

Examples

FOUND()
population[[1]]$age=world$deathAge+1
DIE(1)

[Package MoLE version 1.0.1 Index]