This repository provides the python code to perform simulations in the growth-merging-dilution model described in the article "Promotion of cooperation in deme-structured populations with growth-merging dynamics" by Damien Ribière, Alia Abbara and Anne-Florence Bitbol.
Clone this repository on your local machine by running
git clone git@github.com:Bitbol-Lab/Cooperation_structured_pop.gitand move inside the root folder.
We recommend creating and activating a dedicated conda or virtualenv Python virtual environment.
Then, install the required libraries:
python -m pip install -U -r requirements.txtIn order to run the notebooks, the following python packages are required:
- numpy==1.24.4
- numba==0.58.1