Go back to household_stochastic_simulation


The Link class represent a directed edge in a contact network. It is responsible for causing contacts from the source node to the target node. So, it is a subclass of SImSchedule, i.e., it is represents a contact event. The owner of the event is the source node. The link holds the information of the target node, and the contact rate, and use the contact rate to compute its next contact time.

Files: