Simulating Epidemics on Social Networks

In this homework assignment, you will be building a program to simulate epidemics, which involve the rapid spread of infectious diseases over social networks of contact or physical proximity between people. A social network can be represented by a set of nodes, representing people, connected by edges, denoting relationships between people. In the case of modeling infectious diseases, these relationships could represent physical contacts or close physical proximity between people, allowing for the transmission of disease from one person to another. These relationships are undirected, meaning that either person could transmit the disease to the other person.

Sample Solution

This question has been answered.

Get Answer