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

Safe HaskellNone
LanguageHaskell2010

Epidemic.BirthDeathSamplingOccurrence

Synopsis

Documentation

configuration Source #

Arguments

:: Time

Duration of the simulation

-> (Rate, Rate, Rate, Rate)

Birth, Death, Sampling and Occurrence rates

-> SimulationConfiguration BDSORates BDSOPopulation 

Configuration of a birth-death-sampling-occurrence simulation

allEvents :: BDSORates -> Time -> (Time, [EpidemicEvent], BDSOPopulation, Integer) -> GenIO -> IO (Time, [EpidemicEvent], BDSOPopulation, 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.