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.GPSS.MatchChain

Description

Tested with: GHC 8.0.2

This module defines a GPSS Match Chain.

Synopsis

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.

transactMatchingChangedByTransact_ :: MatchChain -> Transact a -> Signal () Source #

Signal each time the transactMatching flag changes.