Gate

scalation.simulation.process.Gate
See theGate companion class
object Gate

The Gate companion object provides a builder method for gates.

Attributes

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

Members list

Value members

Concrete methods

def apply(name: String, director: Model, line: WaitQueue, units: Int, onTime: Variate, offTime: Variate, xy: (Int, Int), shut0: Boolean, cap: Int): Gate

Create a gate using defaults for width 'w' and height 'h'.

Create a gate using defaults for width 'w' and height 'h'.

Value parameters

cap

the maximum number of entities that will be released when the gate is opened

director

the model/container for this gate

line

the queue holding entities waiting for this gate to open

name

the name of the gate

offTime

distribution of time that gate will be closed

onTime

distribution of time that gate will be open

shut0

Boolean indicating if the gate is initially opened or closed

units

number of units/phases of operation

xy

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

Attributes

def group(director: Model, units: Int, onTime: Variate, offTime: Variate, xy: (Int, Int), gte: (String, WaitQueue, (Int, Int))*): List[Gate]

Create a group of related gates using defaults for width 'w' and height 'h'.

Create a group of related gates using defaults for width 'w' and height 'h'.

Value parameters

director

the director controlling the model

gte

repeated gate specific info: name, line, offset

offTime

distribution of time that gate will be closed

onTime

distribution of time that gate will be open

units

number of units/phases of operation

xy

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

Attributes