springer-math / Mathematics-of-Epidemics-on-Networks

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
150 stars 61 forks source link

timing of infections for initial_infecteds in simulation_investigation objects #51

Open joelmiller opened 4 years ago

joelmiller commented 4 years ago

They currently get infected one unit of time early. This means that the times returned by sim.t() start at tmin-1, rather than tmin.