WaitQueue

scalation.simulation.process.WaitQueue
See theWaitQueue companion class
object WaitQueue

The WaitQueue companion object provides a builder method for wait-queues.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
WaitQueue.type

Members list

Value members

Concrete methods

def apply(name: String, xy: (Int, Int), cap: Int): WaitQueue

Create a wait-queue using integer-valued defaults for width (w) and height (h).

Create a wait-queue using integer-valued defaults for width (w) and height (h).

Value parameters

cap

the capacity of the queue (defaults to unbounded)

name

the name of the wait-queue

xy

the (x, y) coordinates for the top-left corner of the wait-queue.

Attributes

def group(xy: (Int, Int), que: (String, (Int, Int))*): List[WaitQueue]

Create a group of related wait-queues using defaults for width 'w' and height 'h'.

Create a group of related wait-queues using defaults for width 'w' and height 'h'.

Value parameters

que

repeated queue specific info: name, offset

xy

the (x, y) coordinates for the top-left corner of the reference queue.

Attributes