Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- configuration :: TimeDelta -> Bool -> Maybe (LogisticBDSDPopulation -> Bool, [EpidemicEvent] -> s) -> (Rate, Int, Rate, Rate, [(AbsoluteTime, Probability)]) -> Either String (SimulationConfiguration LogisticBDSDParameters LogisticBDSDPopulation s)
- randomEvent :: SimulationRandEvent LogisticBDSDParameters LogisticBDSDPopulation
- data LogisticBDSDParameters = LogisticBDSDParameters {}
- newtype LogisticBDSDPopulation = LogisticBDSDPopulation People
Documentation
:: TimeDelta | |
-> Bool | condition upon at least two sequenced samples. |
-> Maybe (LogisticBDSDPopulation -> Bool, [EpidemicEvent] -> s) | values for termination handling. |
-> (Rate, Int, Rate, Rate, [(AbsoluteTime, Probability)]) | |
-> Either String (SimulationConfiguration LogisticBDSDParameters LogisticBDSDPopulation s) |
Create an simulation configuration or return an error message if this is not possible.
randomEvent :: SimulationRandEvent LogisticBDSDParameters LogisticBDSDPopulation Source #
Defines how a single random event is simulated in this model.
data LogisticBDSDParameters Source #
The parameters of the logistic-BDSD process. This process allows for infections, removals, sampling and disasters.
Instances
newtype LogisticBDSDPopulation Source #