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
- newMatchChain :: Simulation MatchChain
- matchTransact :: MatchChain -> Transact a -> Process ()
- transactMatching :: MatchChain -> AssemblySet -> Event Bool
- transactMatchingChanged :: MatchChain -> Signal AssemblySet
- transactMatchingChangedByTransact_ :: MatchChain -> Transact a -> Signal ()
- transactMatchingChangedByAssemblySet_ :: MatchChain -> AssemblySet -> Signal ()
Documentation
data MatchChain Source #
Represents a Match Chain.
newMatchChain :: Simulation MatchChain Source #
Create a new Match Chain.
matchTransact :: MatchChain -> Transact a -> Process () Source #
Match the transact.
transactMatching :: MatchChain -> AssemblySet -> Event Bool Source #
Test whether there is a matching transact.
transactMatchingChanged :: MatchChain -> Signal AssemblySet Source #
Signal each time the transactMatching
flag changes.
transactMatchingChangedByTransact_ :: MatchChain -> Transact a -> Signal () Source #
Signal each time the transactMatching
flag changes.
transactMatchingChangedByAssemblySet_ :: MatchChain -> AssemblySet -> Signal () Source #
Signal each time the transactMatching
flag changes.