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