NetLogo User Community Models
(back to the NetLogo User Community Models)
If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".
Try It in NetLogo Web
Sons (blue) are valued higher than daughters (red).
Each agent continues to have children until they have a son, and then both parents stop having children and are so removed from affecting the model (they die).
Agents do not reproduce asexually. Agents are not monogamous.
Also added to the model is an option for Premature Death. This means that an agent can die before producing a male heir to take their place.
The male population should never go up. If when they have a son they die (or stop having children), there is a male added to the active agents, while at the same time there is one taken away (x + 1 - 1 = x). If premature-death is activated, then the male population may go down; because a male can die without leaving an heir it's no longer a zero-sum game.