The Gate
companion object provides a builder method for gates.
Attributes
Members list
Value members
Concrete methods
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
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.