This project implements graphic version of epidemic simulation model on 2D map.
Our models create pseudo-random distribution of age to distinguish different ways of passing-through the infection (probabilities of getting infected, death, recovery and vaccination differ basen on person's age).
As a single person, we can:
- get infected
- infect our neighbours
- die because of infection
- recover from sickness - that gives us lower chances of being infected, lower probability of death and higher chances to recover again
- get vaccinated - the same effects as recovery but bigger modifiers of these constants
To model our epidemic, we use parameters such as:
- contagiousness - to describe how easily epidemic spreads
- fatality - general probability of death when infected
- cure_difficulty - how difficult it is to recover
- vaccine_aversion - according to recent situation, this parameter describes probability of people not vaccinating against epidemic
- vaccine_invention_speed - describes probability of fast invention of vaccine
- simulation_length - although our simulation has no strict limit, this parameter is connected to vaccine_invention_speed, because we have to make a comparison what "faster" really means
Make sure you have QT library installed on your device.
- Run main.cpp file.
- Two windows should be displayed - "Step" button and a map.
- Clicking the button will generate next epoque of simulation.
- Map tiles are coloured in certain manner: