Modeling a Disease in C++


I did this as a lab project in my advanceed CS class.

What it Does

After taking in various parameters from the user, the C++ program simulates the spreading and eventual downfall of an infectious disease.

Parameters that are asked include:

Total population amount

Amount of islands the population live on

How the population is distributed on islands

Transmission percentage of disease after contact

Max amount of contacts per day

Travel routes and rates between islands

Length of infectious period of disease

How many people start off in each state (Healthy->Infectious->Sick->Healthy)

Option of "Recovered" where person can not get sick after catching the disease once

Option of having disease spread by mosquitoes as well as or instead of human contact

(All options for humans also stand for mosquitoes)

How it is Made


Where it is Going

Include graphical representation