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

Safe HaskellNone
LanguageHaskell2010

Epidemic.BirthDeath

Synopsis

Documentation

configuration Source #

Arguments

:: Time

Duration of the simulation

-> (Rate, Rate)

Birth and Death rates

-> Maybe (SimulationConfiguration BDRates BDPopulation) 

Configuration of a birth-death simulation.

allEvents :: BDRates -> Time -> (Time, [EpidemicEvent], BDPopulation, Integer) -> GenIO -> IO (Time, [EpidemicEvent], BDPopulation, Integer) Source #