Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data SimulationConfiguration r p = SimulationConfiguration {
- scRates :: r
- scPopulation :: p
- scNewIdentifier :: Identifier
- scStartTime :: AbsoluteTime
- scSimDuration :: TimeDelta
- scValidPopulation :: Maybe (p -> Bool)
- scRequireCherry :: Bool
- data SimulationState b
- data SimulationRandEvent a b where
- SimulationRandEvent :: (ModelParameters a b, Population b) => (a -> AbsoluteTime -> b -> Identifier -> GenIO -> IO (AbsoluteTime, EpidemicEvent, b, Identifier)) -> SimulationRandEvent a b
Documentation
data SimulationConfiguration r p Source #
SimulationConfiguration | |
|
data SimulationState b Source #
Either there is a valid simulation state which contains a sequence of epidemic events of there is a terminated simulation which indicates that the simulation has been rejected.
Instances
Eq b => Eq (SimulationState b) Source # | |
Defined in Epidemic.Types.Simulation (==) :: SimulationState b -> SimulationState b -> Bool # (/=) :: SimulationState b -> SimulationState b -> Bool # | |
Show b => Show (SimulationState b) Source # | |
Defined in Epidemic.Types.Simulation showsPrec :: Int -> SimulationState b -> ShowS # show :: SimulationState b -> String # showList :: [SimulationState b] -> ShowS # |
data SimulationRandEvent a b where Source #
SimulationRandEvent :: (ModelParameters a b, Population b) => (a -> AbsoluteTime -> b -> Identifier -> GenIO -> IO (AbsoluteTime, EpidemicEvent, b, Identifier)) -> SimulationRandEvent a b |