Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 902 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 902 Bytes

Evographs

This repository implements a installable package (run poetry install in root directory) called evographs which implements the spatial Moran model on a Graph class, allows for carrying out simulations and animations of the evolution of a Graph object whose nodes reproduce according to the Moran model.

Running a simulation

Running python3 -m evographs -h in the terminal while in the root directory and set parameters as per your liking to start a simulation that is then saved as an animated video that visualises the evolution of the population similarly to the video below.

The below animation for example was made using

python3 -m evographs -n_nodes 50 -n_genotypes 16 -edge_probability 0.2 -selection_intensity 0.8

evolution_simulation-1.mp4

🪲 known-bugs 🐛