Supporting code for the paper "Intriguing effects of selection intensity on the evolution of prosocial behaviors" by Alex McAvoy, Andrew Rao, and Christoph Hauert, available at https://www.biorxiv.org/content/10.1101/2021.03.12.435199v2.
Examples can be run by typing
>> run_calculations
in folders cycle_dB/
(for death-Birth updating on the cycle) and star_Bd/
(for Birth-death updating on the star).
The parameters within the respective run_calculations.m
files can be modified as desired.
Please direct questions to Alex McAvoy (alexmcavoy@gmail.com
).