https://github.com/socrats/dyrwin
Simulator of evolutionary dynamics and game theory in c++
https://github.com/socrats/dyrwin
cpp evolutionary-game-theory game-theory simulation
Last synced: 8 months ago
JSON representation
Simulator of evolutionary dynamics and game theory in c++
- Host: GitHub
- URL: https://github.com/socrats/dyrwin
- Owner: Socrats
- License: gpl-3.0
- Created: 2018-06-24T11:56:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-06T12:29:09.000Z (almost 5 years ago)
- Last Synced: 2023-11-30T16:46:31.257Z (about 2 years ago)
- Topics: cpp, evolutionary-game-theory, game-theory, simulation
- Language: C++
- Size: 564 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Dyrwin
## Simulator for Evolutionary Game Theory problems
The intention of this repository is twofold:
- Reproduce results from top-tier papers that use EGT to solve different kinds of problems;
- and to provide a c++ framework to perform evolutionary analysis of game theoretical scenarios.
## Requirements
- Requires C++ compiler with c++17 support
- Eigen 3.3
- pybind 11 for the python bindings
- Boost >=1.67 and boost program_options
## Build
To install run:
````
mkdir build
cd build
cmake ..
make -j 4
````
## Execution
To get help on how to run the simulation execute:
````bash
./dyrwin --help
````
If you want your results to to be stored in an output file, you need to provide a file path
You can also run the simulation through a python configuration file like the ones provided in ./examples:
Some of the code to make build the CMakeLists.txt was taken from: https://github.com/Svalorzen/AI-Toolbox/blob/master/CMakeLists.txt