The project is built using Python 3.9, and has no external dependencies.
Upon running python3 main.py
it prints the results (and some progress indicators) from the model and creates a file named output.csv
.
The file output/output.txt
contains the output file, from the run of the model which was used in the term paper.
usage: main.py [-h] [-o file] [-M M] [-N N] [-t t]
Run a Hong & Page style simulation.
optional arguments:
-h, --help show this help message and exit
-o file file to write results to (defaults to output.csv)
-M M number of iterations per strategy (default 50)
-N N size of landscape (default 2000)
-t t number of threads (default 8)