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.Trans.GPSS.AssemblySet

Contents

Description

Tested with: GHC 8.0.2

This module defines a GPSS assembly set.

Synopsis

Types

data AssemblySet m Source #

Represents an assembly set.

Creating Assembly Set

newAssemblySet :: MonadDES m => Simulation m (AssemblySet m) Source #

Create a new assembly set.

Functions

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

Assemble the transact by the specified number.

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

Gather the transacts by the specified number.

Properties

transactAssembling :: MonadDES m => Transact m a -> Event m Bool Source #

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

transactGathering :: MonadDES m => Transact m a -> Event m Bool Source #

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