Skip to content

Challenge program from a data structures class to simulate COVID infection times

Notifications You must be signed in to change notification settings

mhelkey/CovidInfectionSimulator

Repository files navigation

Partner project with Adityaa Ravi (github.com/AdityaaRavi)

This program was to create Spreader class that will determine how many days it would take for Covid to infect an entire population when beginning with a few starting individuals. We utilized Djikstra's algorithm to calculate this number of days.

This program was a challenge program completed with a partner for my ECS36C data structure's class. We were graded on correct answer, and if the program gave the correct answer, we could then receive more points depending on how fast our program was. On this assignment, we received 51/50 points, because not only was our code producing the correct answer, it was faster than the instructor's program, which gave us more points.

The complete program assignment instructions and description is in prog4.pdf

Files written from scratch: Person.h spreader.cpp spreader.h

Files Modified to increase speed: BinaryHeap.cpp BinaryHeap.h

About

Challenge program from a data structures class to simulate COVID infection times

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published