Skip to content

huiwang159/Evolution-of-Morality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

evo_gam_mor

evo_all is a simulation that may explain the origin of morality within the framework of evolutionary game theory. Given the following payoff matrix for each interaction, individuals interact with each other a fixed number of times. Each invidual has the following inheritable attributes: morality, probability of interacting morally; naivety, assumed utility of interactions with all individuals; and memory, probability of interacting with the individual with the highest value. Individuals reproduce proportionally to their accumulated payoffs.

All simulations converge towards morality, despite the fact that interacting immorally is the dominant strategy of each single interaction. In this simulation, as by conventional wisdom, immorality at the expense of future cooperation is penny wise, pound foolish. This also suggests that memory, a prerequisite for the preference of individuals, is a precursor of morality. This is just a personal project, and I am no expert in evolutionary psychology, of course.