Skip to content

This C++ program uses a given infection rate, length of infection, and number of vaccines allocated to a region to execute a SIRV based simulation of the virus through the region. This simulation can be performed for a variety of distribution methods such as an area’s closeness to others or its degree of centrality.

Notifications You must be signed in to change notification settings

natalioc/virus-sim

Repository files navigation

CONTAGION - CSCE 2110.021 - Group 10 -  Natalio Castaneda - Mamerto Cruz - Natalia Martinez - Updated July 27, 2021

Included files:
main.cpp
initialize.cpp
initialize.h
regiondata.cpp
regiondata.h
agent.cpp
agent.h
analysis.cpp
analysis.h
makefile

How to compile Contagion program:
1. On a Linux machine, go to the "Contagion" directory.
2. Run the "make Contagion" command.
3. Four files, including a "Contagion" file will be created in the directory.


How to run Contagion program:
1. Type "./Contagion" to start the program.
2. Enter the name of the configuration file.
3. The program will automatically exit after the initial region state is displayed.

About

This C++ program uses a given infection rate, length of infection, and number of vaccines allocated to a region to execute a SIRV based simulation of the virus through the region. This simulation can be performed for a variety of distribution methods such as an area’s closeness to others or its degree of centrality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published