An open API service indexing awesome lists of open source software.

https://github.com/jmiszczak/evolving-games

Some tests with evolutionary game theory
https://github.com/jmiszczak/evolving-games

Last synced: 2 months ago
JSON representation

Some tests with evolutionary game theory

Awesome Lists containing this project

README

          

# evolving-games

Collection of scripts implementing models from papers on evolutionary game theory.

Code in Python is organized in three directories:
- `games` includes implementation of some games used as the model of dynamics, eg. Prisoner's dillema,
- `models` contains implementation of various models,
- `varia` contains some scripts related to network properties.

NetLogo models are in `netlogo` directory.

# Requirements

## For running Python simulations
Graphs are implemented using [NetworkX](http://networkx.github.io/). [Numpy](https://www.numpy.org/) and [Matplotlib](https://matplotlib.org/) are also required.

Agent based models in python are implemented using [Mesa](https://github.com/projectmesa).

## For running NetLogo
NetLogo is a multi-agent programmable modeling environment. It can be obtained from NetLogo hompepage. Models can be also run via NetLogo Web.

# Relevant papers

Models implemented in this repo were described in the following papers.

- K. Sznajd-Weron, J. Sznajd, *Opinion evolution in closed community*, Int. J. Mod. Phys. C, Vol.11, No.6(2000) 1157-1165, DOI: 10.1142/S0129183100000936, arXiv:[cond-mat/0101130v2](https://arxiv.org/abs/cond-mat/0101130)

- D. Stauffer, A. O. Sousa, and S. Moss De Oliveira, *Generalization to square lattice of sznajd sociophysics model*, International Journal of Modern Physics C, Vol. 11, No. 06, pp. 1239-1245 (2000), 10.1142/S012918310000105X.

- J. Wu, C. Zhao, *Cooperation on the Monte Carlo Rule: Prisoner’s Dilemma Game on the Grid*. In: Sun X., He K., Chen X. (eds) Theoretical Computer Science. NCTCS 2019. Communications in Computer and Information Science, vol 1069. Springer, Singapore. 10.1007/978-981-15-0105-0_1, arXiv:1904.06949