Ed, Nour, Sam, Tim, Tom and Elise yrs project on spread of disease in an American high school
Python 2.7
sudo add-apt-repository ppa:igraph/ppa && sudo apt-get update
sudo apt-get install python-igraph
sudo apt-get install python-pygame
For simulation of the existing data
-
Run fake.py which will generate the graph and movement of all the people - will output dump.dat which is the pickled graph and a file in days which is the movement information. (This may take a while)
-
Run simulation.py which will simulate a day at the school using the files generated by fake.py - will output virus.dat which contains the movements needed at each tick
-
Run display.py to display the simulation
python fake.py && python simulation.py && python display.py