Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- configuration :: Time -> (Rate, Rate, Rate, Rate) -> SimulationConfiguration BDSORates BDSOPopulation
- allEvents :: BDSORates -> Time -> (Time, [EpidemicEvent], BDSOPopulation, Integer) -> GenIO -> IO (Time, [EpidemicEvent], BDSOPopulation, Integer)
- observedEvents :: [EpidemicEvent] -> [EpidemicEvent]
Documentation
:: 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 #
:: [EpidemicEvent] | All of the simulation events |
-> [EpidemicEvent] |
Just the observable events from a list of all the events in a simulation.