Copyright | Copyright (c) 2017 David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Tested with: GHC 8.0.2
This module defines a GPSS assembly set.
Synopsis
- data AssemblySet m
- newAssemblySet :: MonadDES m => Simulation m (AssemblySet m)
- assembleTransact :: MonadDES m => Transact m a -> Int -> Process m ()
- gatherTransacts :: MonadDES m => Transact m a -> Int -> Process m ()
- transactAssembling :: MonadDES m => Transact m a -> Event m Bool
- transactGathering :: MonadDES m => Transact m a -> Event m Bool
Types
data AssemblySet m Source #
Represents an assembly set.
Instances
MonadDES m => Eq (AssemblySet m) Source # | |
Defined in Simulation.Aivika.Trans.GPSS.AssemblySet (==) :: AssemblySet m -> AssemblySet m -> Bool # (/=) :: AssemblySet m -> AssemblySet m -> Bool # | |
Hashable (AssemblySet m) Source # | |
Defined in Simulation.Aivika.Trans.GPSS.AssemblySet 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.