PROCREATE {MoLE} | R Documentation |
Generate new generation of agents
Description
Generate new generation of agents if (to be) parent generation is old enough.
Usage
PROCREATE(speakerID, hearerID)
Arguments
speakerID |
Pointer to first parent |
hearerID |
Pointer to second parent |
Details
New generation is mix of vocabularies of parents (if world$crossover
is T), with emptied usage histories. Agents procreate after number of utterances specified by world$procreationAge
. Meanings of words that have not been used by their parents are modified slightly.
Value
Set of new agents
Author(s)
Sander Lestrade
See Also
TALK
Examples
FOUND()
population[[1]]$age=population[[2]]$age=world$procreationAge*world$deathAge+1
PROCREATE(1,2)
[Package MoLE version 1.0.1 Index]