Source code accompanying 'Mathematics of Epidemics on Networks' by Kiss, Miller, and Simon http://www.springer.com/us/book/9783319508047 . Documentation for the software package is at https://epidemicsonnetworks.readthedocs.io/en/latest/
MIT License
151
stars
61
forks
source link
Allow the simulations to take in an input of upcoming events #27
Sometimes we want occasional transmissions to drop into a population from outside.
I think we can somehow create a list of upcoming events of the form
[(t0, node, action), (t1, node, action), ...]
which the user can input into the event-driven codes
and maybe for the Gillespie codes, the user defines a function
f
which has an associated rate and a way to decide which node is changing status.