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

Safe HaskellNone
LanguageHaskell2010

Epidemic.BirthDeathSamplingCatastropheOccurrence

Synopsis

Documentation

configuration Source #

Arguments

:: Time

Duration of the simulation

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

Birth, Death, Sampling, Catastrophe probability and Occurrence rates

-> Maybe (SimulationConfiguration BDSCOParameters BDSCOPopulation) 

Configuration of a birth-death-sampling-occurrence simulation

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

observedEvents Source #

Arguments

:: [EpidemicEvent]

All of the simulation events

-> [EpidemicEvent] 

Just the observable events from a list of all the events in a simulation.