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

Safe HaskellNone
LanguageHaskell2010

Epidemic.BirthDeathSampling

Synopsis

Documentation

configuration Source #

Arguments

:: Time

Duration of the simulation

-> (Rate, Rate, Rate)

Birth, Death and Sampling rates

-> SimulationConfiguration BDSRates BDSPopulation 

Configuration of a birth-death-sampling simulation.

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