120 likes | 137 Views
This project aims to accurately model the progression of known virus outbreaks, such as Ebola, Avian Flu, and Spanish Flu, to help predict and react appropriately to future outbreaks. The project involves defining variables, running simulations, and analyzing results. Various iterations of the project incorporate different elements such as considering age, infection rates, death rates, and incorporating lag. However, some challenges include optimizing performance for large sample sizes and adjusting parameters for modeling known viruses.
E N D
Model of a Virus Outbreak on a Contained Population CJ Cahill TJHSST Computer Systems Lab 2008-2009
Purpose • Predict how future outbreaks will progress • Help people react appropriately
Subject • Several known viruses • Ebola • Avian Flu • Spanish Flu • Possibly things like AIDS and SARS
Goals • Correctly model several known viruses • Models of unknown viruses make sense
Procedure • 2 parts • Determine values of variables • Run program and analyze results • Tweak program to make the tests accurate
Project 1 • Used a simple array length 10000 • Infected person could only infect neighbors
Project 2 • Used ArrayLists for several things • Live people • Infected people • Empty slots • Incorporating age of each person • Infected person can still only infect neighbors
Project 3 • Same ArrayLists as Project 2 • Each infected person has a chance to infect one uninfected person • Both infection rate and death rate depend on the current percent of sick/dead people • Incorporated lag
Problems • When there’s a large sample size the program runs slowly • When trying to model known viruses the parameters don’t work perfectly