This is a C program that simulates disease spread using the SIR model in a grid-based world.
- Hash-based lookup for efficient infection checking
- Linked lists for infected location tracking
- Modular code in multiple files
make
./epidemic k m T NWhere:
- 'k' = grid radius (world is (2k+1)x(2k+1))
- 'm' = number of hosts
- 'T' = recovery time for infected hosts
- 'N' = number of hash buckets
Jay Patel