aivika-branches-0.2: Nested discrete event simulation module for the Aivika library

CopyrightCopyright (c) 2016-2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell98

Simulation.Aivika.Branch.QueueStrategy

Contents

Description

Tested with: GHC 7.10.3

This module defines queue strategies FCFS and LCFS for the BR computation.

Orphan instances

QueueStrategy (BR IO) FCFS Source #

An implementation of the FCFS queue strategy.

Associated Types

data StrategyQueue (BR IO :: * -> *) FCFS a :: * #

QueueStrategy (BR IO) LCFS Source #

An implementation of the LCFS queue strategy.

Associated Types

data StrategyQueue (BR IO :: * -> *) LCFS a :: * #

DequeueStrategy (BR IO) FCFS Source #

An implementation of the FCFS queue strategy.

DequeueStrategy (BR IO) LCFS Source #

An implementation of the LCFS queue strategy.

EnqueueStrategy (BR IO) FCFS Source #

An implementation of the FCFS queue strategy.

Methods

strategyEnqueue :: StrategyQueue (BR IO) FCFS a -> a -> Event (BR IO) () #

EnqueueStrategy (BR IO) LCFS Source #

An implementation of the LCFS queue strategy.

Methods

strategyEnqueue :: StrategyQueue (BR IO) LCFS a -> a -> Event (BR IO) () #