probability-0.2.2: Probabilistic Functional Programming

Numeric.Probability.Example.Barber

barber shop

custServ :: Dist Time Source

nextCust :: Trans Time Source

barbers :: Int Source

customers :: Int Source

runs :: Int Source

barberEvent :: ((), (Dist Time, Time -> Dist Time))Source

barberEvents :: [((), (Dist Time, Time -> Dist Time))]Source

barberSystem :: Ord b => (System () -> b) -> RDist bSource

category

data Category Source

Constructors

Instances

cat :: Time -> Category Source

perc :: Float -> String Source

evaluation

barberIdle :: RDist String Source

avg barber idle time

customerWait :: RDist Category Source

avg customer waiting time (unserved customers)

AltStyle によって変換されたページ (->オリジナル) /