Create a gate using defaults for width (w) and heigth (h).
Create a gate using defaults for width (w) and heigth (h).
the name of the gate
the model/container for this gate
the queue holding entities waiting for this gate to open
number of units/phases of operation
distribution of time that gate will be open
distribution of time that gate will be closed
the (x, y) coordinates for the top-left corner of the sink.
boolean indicating if the gate is initially opened or closed
the maximum number of entities that will be released when the gate is opened
Create a group of related gates using defaults for width (w) and heigth (h).
Create a group of related gates using defaults for width (w) and heigth (h).
the director controlling the model
number of units/phases of operation
distribution of time that gate will be open
distribution of time that gate will be closed
the (x, y) coordinates for the top-left corner of the reference gate.
repeated gate specific info: name, line, offset
The
Gate
companion object provides a builder method for gates.