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

Description

Tested with: GHC 8.0.2

This module defines a GPSS assembly set.

Synopsis

Types

data AssemblySet m Source #

Represents an assembly set.

Instances

Instances details
MonadDES m => Eq (AssemblySet m) Source # 
Instance details

Defined in Simulation.Aivika.Trans.GPSS.AssemblySet

Hashable (AssemblySet m) Source # 
Instance details

Defined in Simulation.Aivika.Trans.GPSS.AssemblySet

Methods

hashWithSalt :: Int -> AssemblySet m -> Int #

hash :: AssemblySet m -> Int #

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.