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
- Host: GitHub
- URL: https://github.com/jmiszczak/evolving-games
- Owner: jmiszczak
- Created: 2019-04-12T12:04:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-23T17:02:02.000Z (6 months ago)
- Last Synced: 2025-04-23T17:48:20.675Z (6 months ago)
- Language: Jupyter Notebook
- Size: 577 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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