Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- configuration :: Time -> (Rate, Rate, Rate, [(Time, Probability)], Rate, [(Time, Probability)]) -> Maybe (SimulationConfiguration BDSCODParameters BDSCODPopulation)
- allEvents :: BDSCODParameters -> Time -> (Time, [EpidemicEvent], BDSCODPopulation, Integer) -> GenIO -> IO (Time, [EpidemicEvent], BDSCODPopulation, Integer)
- observedEvents :: [EpidemicEvent] -> Maybe [EpidemicEvent]
Documentation
:: 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 #
:: [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.)