aivika-gpss-0.3: GPSS-like DSL for Aivika

CopyrightCopyright (c) 2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell98

Simulation.Aivika.Trans.GPSS.MatchChain

Description

Tested with: GHC 8.0.2

This module defines a GPSS Match Chain.

Synopsis

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.