DIE: Kill agents

Description Usage Arguments Details Value Author(s) Examples

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

1
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

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

MoLE documentation built on May 2, 2019, 3:02 p.m.