aivika-gpss-0.4: 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.Block.Test

Description

Tested with: GHC 8.0.2

This module defines the GPSS block TEST.

Synopsis

Documentation

awaitingTestBlock Source #

Arguments

:: (a -> Signalable Bool)

by the specified transact return a test condition and signal that notifies about changing the condition

-> Block a a 

This is the GPSS construct

TEST O A,B

awaitingTestBlockM Source #

Arguments

:: (a -> Process (Signalable Bool))

by the specified transact return a test condition and signal that notifies about changing the condition

-> Block a a 

This is the GPSS construct

TEST O A,B

transferringTestBlock Source #

Arguments

:: (a -> Bool)

the predicate

-> Block a ()

the block to transfer in when the condition fails

-> Block a a 

This is the GPSS construct

TEST O A,B,C

transferringTestBlockM Source #

Arguments

:: (a -> Process Bool)

the predicate

-> Block a ()

the block to transfer in when the condition fails

-> Block a a 

This is the GPSS construct

TEST O A,B,C