aivika-gpss-0.6.2: GPSS-like DSL for Aivika
CopyrightCopyright (c) 2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Simulation.Aivika.Trans.GPSS.Block.Generate

Description

Tested with: GHC 8.0.2

This module defines the GPSS block GENERATE.

Synopsis

Documentation

streamGeneratorBlock0 Source #

Arguments

:: MonadDES m 
=> Stream m (Arrival a)

the input stream of data

-> GeneratorBlock m (Transact m a) 

Return a generator block by the specified stream using zero priority.

streamGeneratorBlock Source #

Arguments

:: MonadDES m 
=> Stream m (Arrival a)

the input stream of data

-> Int

the transact priority

-> GeneratorBlock m (Transact m a) 

Return a generator block by the specified stream and priority.

streamGeneratorBlockM Source #

Arguments

:: MonadDES m 
=> Stream m (Arrival a)

the input stream of data

-> Event m Int

the transact priority

-> GeneratorBlock m (Transact m a) 

Return a generator block by the specified stream and priority computation.

signalGeneratorBlock0 Source #

Arguments

:: MonadDES m 
=> Signal m (Arrival a)

the input signal of data

-> GeneratorBlock m (Transact m a) 

Return a generator block by the specified signal using zero priority.

signalGeneratorBlock Source #

Arguments

:: MonadDES m 
=> Signal m (Arrival a)

the input signal of data

-> Int

the transact priority

-> GeneratorBlock m (Transact m a) 

Return a generator block by the specified signal and priority.

signalGeneratorBlockM Source #

Arguments

:: MonadDES m 
=> Signal m (Arrival a)

the input signal of data

-> Event m Int

the transact priority

-> GeneratorBlock m (Transact m a) 

Return a generator block by the specified signal and priority computation.