aivika-gpss-0.6.1: 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.AssemblySet

Contents

Description

Tested with: GHC 8.0.2

This module defines a GPSS assembly set.

Synopsis

Types

data AssemblySet Source #

Represents an assembly set.

Creating Assembly Set

newAssemblySet :: Simulation AssemblySet Source #

Create a new assembly set.

Functions

assembleTransact :: Transact a -> Int -> Process () Source #

Assemble the transact by the specified number.

gatherTransacts :: Transact a -> Int -> Process () Source #

Gather the transacts by the specified number.

Properties

transactAssembling :: Transact a -> Event Bool Source #

Test whether another transact is assembled for the corresponding assembly set.

transactGathering :: Transact a -> Event Bool Source #

Test whether the transacts are gathered for the corresponding assembly set.