Auxiliary constructor that uses defaults for width (w) and height (h).
Auxiliary constructor that uses defaults for width (w) and height (h).
the name of the wait-queue
the (x, y) coordinates for the top-left corner of the wait-queue.
the name of the wait-queue
the location of the wait-queue (x, y, w, h)
Diameter of a token (for animating entities)
Diameter of a token (for animating entities)
Radius of a token (for animating entities)
Radius of a token (for animating entities)
Accumulate the value (e.
Accumulate the value (e.g., number in queue) weighted by its time duration.
the value to accumulate
the current time of the observation
Return the director who controls the play/simulation this component is in.
Return the director who controls the play/simulation this component is in.
Tell the animation queue to display this WaitQueue.
Return sample statistics for durations for this component (e.
Return sample statistics for durations for this component (e.g., Time in queue).
Show the flaw by printing the error message.
Show the flaw by printing the error message.
the method where the error occurred
the error message
Get the id (unique identifier).
Get the id (unique identifier).
Initialize this component (all of its vars).
Initialize this component (all of its vars).
the name of this component
the location of this component
Initialize this component's statistical collectors.
Initialize this component's statistical collectors.
the name of this component
Return the full identity.
Return the full identity.
Do not wait in the queue and record zero waiting time.
Do not wait in the queue and record zero waiting time. Call this method to get average waiting time for all actors. If you just want the waiting time for those who wait, do not call this method.
Return time persistent statistics for value for this component (e.
Return time persistent statistics for value for this component (e.g. Number in queue).
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
Set the location of this component.
Set this component's director (the controller of the simulation model).
Set this component's director (the controller of the simulation model).
the director of the play/simulation
Set the name.
Get the type of the simulation object.
Get the type of the simulation object.
Tally the duration (e.
Tally the duration (e.g., waiting time) of an activity or delay.
the time duration
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Wait in the queue, recording the wait time.
(Since version 2.8.0) use iterator' instead
(Since version 2.8.0) use corresponds
instead
(Since version 2.8.0) Use indexWhere(p) instead.
(Since version 2.8.0) use lastIndexWhere
instead
(Since version 2.8.0) use head' instead
(Since version 2.8.0) use headOption' instead
(Since version 2.8.0) use view' instead
(Since version 2.8.0) use clear() instead
(Since version 2.8.0) use reverseIterator' instead
The WaitQueue class simply a wrapper for monitoring scala's Queue class.