https://github.com/keyskey/spd_ex
Elixir version of Multi-agent simulation code for Spatial Prisoners Dilemma Game.
https://github.com/keyskey/spd_ex
Last synced: about 2 months ago
JSON representation
Elixir version of Multi-agent simulation code for Spatial Prisoners Dilemma Game.
- Host: GitHub
- URL: https://github.com/keyskey/spd_ex
- Owner: keyskey
- Created: 2018-09-21T14:16:01.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T06:00:37.000Z (almost 8 years ago)
- Last Synced: 2025-02-13T00:22:03.806Z (over 1 year ago)
- Language: Elixir
- Size: 1.66 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SpdEx
Spatial Prisoner's Dilemma Game (assuming random graph as a social network) implemented by Elixir.
Current version is not parallelized by Flow, but parallel calculation version will be definitely available in the near future.
## Installation
This package can be installed
by adding `spd_ex` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:spd_ex, "~> 0.1.0"}
]
end
```
Then, in your terminal;
```shell
$ mix deps.get
```
to install dependencies.
## Usage
Open interactive Elixir shell with ```iex -S mix``` and Just type;
```shell
iex > SpdEx.main
```
After the calculation, you'll get an output file with csv format.
## Documentation
Documentation can be found at [https://hexdocs.pm/spd_ex](https://hexdocs.pm/spd_ex).
## License
Copyright © 2018 Keisuke Nagashima, released under MIT license.