Nikoleta-v3 / evoke

Evolutionary game theory in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

evoke enables users to recreate signalling game simulations from the academic literature.

It comprises a library of methods from evolutionary game theory evoke/src/ and an ever-growing collection of user-friendly examples evoke/examples/.

Online tutorial

See the interactive tutorial on Google Colab.

Installation

Install with pip: pip install evoke_signals.

Basic usage

To create one of the example figures, simply import the relevant class and create an instance of it:

from evoke.examples.skyrms2010signals import Skyrms2010_1_1
fig1_1 = Skyrms2010_1_1()

Example of Skyrms 2010 Figure 1.1

Certain figures allow you to specify your own parameters:

from evoke.examples.skyrms2010signals import Skyrms2010_3_3
fig3_3 = Skyrms2010_3_3(iterations=1000)

Example of Skyrms 2010 Figure 3.3

See the examples/ directory for a collection of available figures.

About

Evolutionary game theory in Python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%