Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 962 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 962 Bytes

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