epi-sim-0.2.2.0: A library for simulating epidemics as birth-death processes.

Safe HaskellNone
LanguageHaskell2010

Epidemic.InhomogeneousBD

Synopsis

Documentation

configuration Source #

Arguments

:: Time

Duration of the simulation

-> ([(Time, Rate)], Rate)

Birth and Death rates

-> Maybe (SimulationConfiguration InhomBDRates InhomBDPop) 

Configuration of a inhomogeneous birth-death simulation.

allEvents Source #

Arguments

:: InhomBDRates

model parameters

-> Time

stopping time

-> (Time, [EpidemicEvent], InhomBDPop, Integer)

simulation state

-> GenIO

PRNG

-> IO (Time, [EpidemicEvent], InhomBDPop, Integer) 

The state of the simulation at the time of the last event prior to the stopping time.