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

Safe HaskellNone
LanguageHaskell2010

Epidemic.BDSCOD

Synopsis

Documentation

configuration Source #

Arguments

:: Time

Duration of the simulation

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

Birth, Death, Sampling, Catastrophe probability and Occurrence rates

-> Maybe (SimulationConfiguration BDSCODParameters BDSCODPopulation) 

Configuration of a birth-death-sampling-occurrence simulation

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

observedEvents Source #

Arguments

:: [EpidemicEvent]

All of the simulation events

-> Maybe [EpidemicEvent] 

Just the observable events from a list of all the events that occurred in a simulation of the BDSCOD-process. These events are the result of extracting the events from the reconstructed tree and getting the point process events that make up the unsequenced samples (see pointProcessEvents for details on this latter data.)