Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Coding...

Tomasz Chybziński devTomek

:octocat:
Coding...
View GitHub Profile
View simpleNetworkSIRWithClasses.py
#a simple network-based SIR model written in Python
#Jon Zelner
#University of Michigan
#October 20, 2009
#import this file (networkSIRWithClasses) to use the model components
#or run as 'python networkSIRWithClasses.py' to do sample runs
import igraph
import random