Copyright | Copyright (c) 2017 David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell98 |
Tested with: GHC 8.0.2
This module defines a GPSS Match Chain.
- data MatchChain m
- newMatchChain :: MonadDES m => Simulation m (MatchChain m)
- matchTransact :: MonadDES m => MatchChain m -> Transact m a -> Process m ()
- transactMatching :: MonadDES m => MatchChain m -> AssemblySet m -> Event m Bool
- transactMatchingChanged :: MonadDES m => MatchChain m -> Signal m (AssemblySet m)
- transactMatchingChangedByTransact_ :: MonadDES m => MatchChain m -> Transact m a -> Signal m ()
- transactMatchingChangedByAssemblySet_ :: MonadDES m => MatchChain m -> AssemblySet m -> Signal m ()
Documentation
data MatchChain m Source #
Represents a Match Chain.
newMatchChain :: MonadDES m => Simulation m (MatchChain m) Source #
Create a new Match Chain.
matchTransact :: MonadDES m => MatchChain m -> Transact m a -> Process m () Source #
Match the transact.
transactMatching :: MonadDES m => MatchChain m -> AssemblySet m -> Event m Bool Source #
Test whether there is a matching transact.
transactMatchingChanged :: MonadDES m => MatchChain m -> Signal m (AssemblySet m) Source #
Signal each time the transactMatching
flag changes.
transactMatchingChangedByTransact_ :: MonadDES m => MatchChain m -> Transact m a -> Signal m () Source #
Signal each time the transactMatching
flag changes.
transactMatchingChangedByAssemblySet_ :: MonadDES m => MatchChain m -> AssemblySet m -> Signal m () Source #
Signal each time the transactMatching
flag changes.