Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/visemet/pandemaniac-modelsim
Simulation model for the Pandemaniac competition
https://github.com/visemet/pandemaniac-modelsim
Last synced: about 1 month ago
JSON representation
Simulation model for the Pandemaniac competition
- Host: GitHub
- URL: https://github.com/visemet/pandemaniac-modelsim
- Owner: visemet
- License: mit
- Created: 2013-08-20T03:18:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-17T00:23:47.000Z (almost 11 years ago)
- Last Synced: 2024-10-21T21:43:40.142Z (3 months ago)
- Language: Python
- Homepage:
- Size: 20.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pandemaniac-modelsim
====================
Backend code for the Pandemaniac contest.Script Usage
------------
This is what's going to be used for the practice and competition rounds. The graphs used for the
competition and the teams participating are all pre-set in the `run.py` script.run.py --day [day or competition round] --teams [teams competing]
run.py --day 4 --teams a b c dFor example, for competition round 2:
run.py --day c2 --teams a b c d
There must be at least 8 teams. If not, filler teams should be added:
run.py --day3 --teams a b c d e f filler1 filler2
Simulation Usage
----------------main.py --teams [team names separated by spaces] --graph [graph name] --model [model name]
main.py --teams foo bar baz --graph 2.1.1 --model weighted_randomPossible models include:
* `majority_all`
* `majority_colored`
* `most_common_colored`
* `random_p`
* `weighted_random`Tools
-----
* Python 2.7 (32-bit)
* [pymongo 2.6.2](http://api.mongodb.org/python/current/installation.html)
Install with `python setup.py install --user`
* [MongoDB 2.4.6](http://www.mongodb.org/downloads)