object Gate
The Gate
companion object provides a builder method for gates.
- Alphabetic
- By Inheritance
- Gate
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(name: String, director: Model, line: WaitQueue, units: Int, onTime: Variate, offTime: Variate, xy: (Int, Int), shut0: Boolean = false, cap: Int = 10): Gate
Create a gate using defaults for width 'w' and height 'h'.
Create a gate using defaults for width 'w' and height 'h'.
- name
the name of the gate
- director
the model/container for this gate
- line
the queue holding entities waiting for this gate to open
- units
number of units/phases of operation
- onTime
distribution of time that gate will be open
- offTime
distribution of time that gate will be closed
- xy
the (x, y) coordinates for the top-left corner of the sink.
- shut0
Boolean
indicating if the gate is initially opened or closed- cap
the maximum number of entities that will be released when the gate is opened
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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'.
- director
the director controlling the model
- units
number of units/phases of operation
- onTime
distribution of time that gate will be open
- offTime
distribution of time that gate will be closed
- xy
the (x, y) coordinates for the top-left corner of the reference gate.
- gte
repeated gate specific info: name, line, offset
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated