This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |