WaitQueue

scalation.simulation.process.WaitQueue
See theWaitQueue companion object
class WaitQueue(name: String, at: Array[Double], cap: Int) extends Queue[SimActor], Component

The WaitQueue class is a wrapper for Scala's Queue class, which supports First-Come, First-Serve 'FCSC' Queues. It adds monitoring capabilities and optional capacity restrictions. If the queue is full, entities (SimActors) attempting to enter the queue are 'barred'. At the model level, such entities may be (1) held in place, (2) take an alternate route, or (3) be lost (e.g., dropped call/packet).

Value parameters

at

the location of the wait-queue (x, y, w, h)

cap

the capacity of the queue (defaults to unbounded)

name

the name of the wait-queue

Attributes

Companion
object
Graph
Supertypes
trait Component
trait Locatable
trait Identifiable
class Queue[SimActor]
class ArrayDeque[SimActor]
trait DefaultSerializable
trait Serializable
trait ArrayDequeOps[SimActor, Queue, Queue[SimActor]]
trait StrictOptimizedSeqOps[SimActor, Queue, Queue[SimActor]]
trait StrictOptimizedIterableOps[SimActor, Queue, Queue[SimActor]]
trait IndexedBuffer[SimActor]
trait IndexedSeq[SimActor]
trait IndexedSeqOps[SimActor, Queue, Queue[SimActor]]
trait IndexedSeq[SimActor]
trait IndexedSeqOps[SimActor, Queue, Queue[SimActor]]
class AbstractBuffer[SimActor]
trait Buffer[SimActor]
trait Shrinkable[SimActor]
trait Growable[SimActor]
trait Clearable
class AbstractSeq[SimActor]
trait Seq[SimActor]
trait SeqOps[SimActor, Queue, Queue[SimActor]]
trait Cloneable[Queue[SimActor]]
trait Cloneable
trait Iterable[SimActor]
class AbstractSeq[SimActor]
trait Seq[SimActor]
trait Equals
trait SeqOps[SimActor, Queue, Queue[SimActor]]
trait PartialFunction[Int, SimActor]
trait Int => SimActor
class AbstractIterable[SimActor]
trait Iterable[SimActor]
trait IterableFactoryDefaults[SimActor, Queue]
trait IterableOps[SimActor, Queue, Queue[SimActor]]
trait IterableOnceOps[SimActor, Queue, Queue[SimActor]]
trait IterableOnce[SimActor]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(name: String, xy: (Double, Double), cap: Int)

Auxiliary constructor that uses defaults for width (w) and height (h).

Auxiliary constructor that uses defaults for width (w) and height (h).

Value parameters

cap

the capacity of the queue (defaults to unbounded)

name

the name of the wait-queue

xy

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

Attributes

Concrete methods

def barred: Int

Return the number entities barred because of this wait-queue being full.

Return the number entities barred because of this wait-queue being full.

Attributes

def display(): Unit

Tell the animation queue to display this wait-queue.

Tell the animation queue to display this wait-queue.

Attributes

def isFull: Boolean

Return whether this queue is full.

Return whether this queue is full.

Attributes

def noWait(): Unit

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.

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.

Attributes

def waitIn(): Boolean

Wait in the queue, recording the waiting time. Return whether the entity was able to actually join the queue or was barred.

Wait in the queue, recording the waiting time. Return whether the entity was able to actually join the queue or was barred.

Attributes

Inherited methods

final def ++[B >: SimActor](suffix: IterableOnce[B]): Queue[B]

Attributes

Inherited from:
IterableOps
final override def ++:[B >: SimActor](prefix: IterableOnce[B]): Queue[B]

Attributes

Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
final def ++=(xs: IterableOnce[SimActor]): Growable.this.type

Attributes

Inherited from:
Growable
final def ++=:(elems: IterableOnce[SimActor]): Buffer.this.type

Attributes

Inherited from:
Buffer
final def +:[B >: SimActor](elem: B): Queue[B]

Attributes

Inherited from:
SeqOps
final def +=(elem: SimActor): Growable.this.type

Attributes

Inherited from:
Growable
final def +=:(elem: SimActor): Buffer.this.type

Attributes

Inherited from:
Buffer
final def --=(xs: IterableOnce[SimActor]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def -=(elem: SimActor): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def :+[B >: SimActor](elem: B): Queue[B]

Attributes

Inherited from:
SeqOps
final def :++[B >: SimActor](suffix: IterableOnce[B]): Queue[B]

Attributes

Inherited from:
SeqOps
def accum(value: Double): Unit

Accumulate the value (e.g., number in queue) weighted by its time duration.

Accumulate the value (e.g., number in queue) weighted by its time duration.

Value parameters

value

the value to accumulate

Attributes

Inherited from:
Component
override def addAll(elems: IterableOnce[SimActor]): ArrayDeque.this.type

Attributes

Definition Classes
ArrayDeque -> Growable
Inherited from:
ArrayDeque
def addOne(elem: SimActor): ArrayDeque.this.type

Attributes

Inherited from:
ArrayDeque
final def addString(b: StringBuilder): b.type

Attributes

Inherited from:
IterableOnceOps
final def addString(b: StringBuilder, sep: String): b.type

Attributes

Inherited from:
IterableOnceOps
def addString(b: StringBuilder, start: String, sep: String, end: String): b.type

Attributes

Inherited from:
IterableOnceOps
def aggregate(): Unit

Aggregate the statistics of this component's subparts.

Aggregate the statistics of this component's subparts.

Attributes

Inherited from:
Component
def andThen[C](k: PartialFunction[SimActor, C]): PartialFunction[Int, C]

Attributes

Inherited from:
PartialFunction
override def andThen[C](k: SimActor => C): PartialFunction[Int, C]

Attributes

Definition Classes
PartialFunction -> Function1
Inherited from:
PartialFunction
final def append(elem: SimActor): Buffer.this.type

Attributes

Inherited from:
Buffer
final def appendAll(xs: IterableOnce[SimActor]): Buffer.this.type

Attributes

Inherited from:
Buffer
override def appended[B >: SimActor](elem: B): Queue[B]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
override def appendedAll[B >: SimActor](suffix: IterableOnce[B]): Queue[B]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
def apply(idx: Int): SimActor

Attributes

Inherited from:
ArrayDeque
def applyOrElse[A1 <: Int, B1 >: SimActor](x: A1, default: A1 => B1): B1

Attributes

Inherited from:
PartialFunction
def at_=(at: Array[Double]): Unit

Set the location of this object.

Set the location of this object.

Value parameters

at

the location of this object

Attributes

Inherited from:
Locatable
def canEqual(that: Any): Boolean

Attributes

Inherited from:
Seq
def clear(): Unit

Attributes

Inherited from:
ArrayDeque
def clearAndShrink(size: Int): ArrayDeque.this.type

Attributes

Inherited from:
ArrayDeque
final override def clone(): Queue[SimActor]

Create a copy of the receiver object.

Create a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Attributes

Returns

a copy of the receiver object.

Note

not specified by SLS as a member of AnyRef

Definition Classes
ArrayDequeOps -> Object
Inherited from:
ArrayDequeOps
override def collect[B](pf: PartialFunction[SimActor, B]): Queue[B]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def collectFirst[B](pf: PartialFunction[SimActor, B]): Option[B]

Attributes

Inherited from:
IterableOnceOps
def combinations(n: Int): Iterator[Queue[SimActor]]

Attributes

Inherited from:
SeqOps
def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, SimActor]

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => Int): A => SimActor

Attributes

Inherited from:
Function1
def composite: Boolean

Indicate whether this component is composite, i.e., has subparts.

Indicate whether this component is composite, i.e., has subparts.

Attributes

Inherited from:
Component
final override def concat[B >: SimActor](suffix: IterableOnce[B]): Queue[B]

Attributes

Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
def contains[A1 >: SimActor](elem: A1): Boolean

Attributes

Inherited from:
SeqOps
def containsSlice[B >: SimActor](that: Seq[B]): Boolean

Attributes

Inherited from:
SeqOps
def copySliceToArray(srcStart: Int, dest: Array[_], destStart: Int, maxItems: Int): dest.type

Attributes

Inherited from:
ArrayDequeOps
override def copyToArray[B >: SimActor](dest: Array[B], destStart: Int, len: Int): Int

Attributes

Definition Classes
ArrayDeque -> IterableOnceOps
Inherited from:
ArrayDeque
def copyToArray[B >: SimActor](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: SimActor](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (SimActor, B) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: Seq[B])(p: (SimActor, B) => Boolean): Boolean

Attributes

Inherited from:
SeqOps
def count(p: SimActor => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
def dequeue(): SimActor

Attributes

Inherited from:
Queue
def dequeueAll(p: SimActor => Boolean): Seq[SimActor]

Attributes

Inherited from:
Queue
def dequeueFirst(p: SimActor => Boolean): Option[SimActor]

Attributes

Inherited from:
Queue
def dequeueWhile(f: SimActor => Boolean): Seq[SimActor]

Attributes

Inherited from:
Queue
override def diff[B >: SimActor](that: Seq[B]): Queue[SimActor]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps

Get the director who controls the play/simulation this component is in.

Get the director who controls the play/simulation this component is in.

Attributes

Inherited from:
Component
def director_=(director: Model): Unit

Set this component's director (the controller of the simulation model).

Set this component's director (the controller of the simulation model).

Value parameters

director

the director of the play/simulation

Attributes

Inherited from:
Component
def distinct: Queue[SimActor]

Attributes

Inherited from:
SeqOps
override def distinctBy[B](f: SimActor => B): Queue[SimActor]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
override def drop(n: Int): Queue[SimActor]

Attributes

Definition Classes
IndexedSeqOps -> IterableOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def dropInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
override def dropRight(n: Int): Queue[SimActor]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
def dropRightInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
def dropWhile(p: SimActor => Boolean): Queue[SimActor]

Attributes

Inherited from:
IterableOps
def dropWhileInPlace(p: SimActor => Boolean): Buffer.this.type

Attributes

Inherited from:
Buffer

Return sample statistics for durations for this component (e.g., Time in queue).

Return sample statistics for durations for this component (e.g., Time in queue).

Attributes

Inherited from:
Component
def elementWise: ElementWiseExtractor[Int, SimActor]

Attributes

Inherited from:
PartialFunction
override def empty: Queue[SimActor]

Attributes

Definition Classes
IterableFactoryDefaults -> IterableOps
Inherited from:
IterableFactoryDefaults
def endsWith[B >: SimActor](that: Iterable[B]): Boolean

Attributes

Inherited from:
SeqOps
def enqueue(elem1: SimActor, elem2: SimActor, elems: SimActor*): Queue.this.type

Attributes

Inherited from:
Queue
def enqueue(elem: SimActor): Queue.this.type

Attributes

Inherited from:
Queue
def enqueueAll(elems: IterableOnce[SimActor]): Queue.this.type

Attributes

Inherited from:
Queue
def ensureSize(hint: Int): Unit

Attributes

Inherited from:
ArrayDeque
override def equals(that: Any): Boolean

Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.

Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.

Attributes

Definition Classes
Identifiable -> Any
Inherited from:
Identifiable
def exists(p: SimActor => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
override def filter(pred: SimActor => Boolean): Queue[SimActor]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def filterInPlace(p: SimActor => Boolean): IndexedBuffer.this.type

Attributes

Inherited from:
IndexedBuffer
override def filterNot(pred: SimActor => Boolean): Queue[SimActor]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def find(p: SimActor => Boolean): Option[SimActor]

Attributes

Inherited from:
IterableOnceOps
def findLast(p: SimActor => Boolean): Option[SimActor]

Attributes

Inherited from:
SeqOps
override def flatMap[B](f: SimActor => IterableOnce[B]): Queue[B]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def flatMapInPlace(f: SimActor => IterableOnce[SimActor]): IndexedBuffer.this.type

Attributes

Inherited from:
IndexedBuffer
override def flatten[B](implicit toIterableOnce: SimActor => IterableOnce[B]): Queue[B]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def fold[A1 >: SimActor](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, SimActor) => B): B

Attributes

Inherited from:
IterableOnceOps
override def foldRight[B](z: B)(op: (SimActor, B) => B): B

Attributes

Definition Classes
IndexedSeqOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def forall(p: SimActor => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: SimActor => U): Unit

Attributes

Inherited from:
IterableOnceOps
protected def fromSpecific(coll: IterableOnce[SimActor]): Queue[SimActor]

Attributes

Inherited from:
IterableFactoryDefaults
final def front: SimActor

Attributes

Inherited from:
Queue
def groupBy[K](f: SimActor => K): Map[K, Queue[SimActor]]

Attributes

Inherited from:
IterableOps
def groupMap[K, B](key: SimActor => K)(f: SimActor => B): Map[K, Queue[B]]

Attributes

Inherited from:
IterableOps
def groupMapReduce[K, B](key: SimActor => K)(f: SimActor => B)(reduce: (B, B) => B): Map[K, B]

Attributes

Inherited from:
IterableOps
override def grouped(n: Int): Iterator[Queue[SimActor]]

Attributes

Definition Classes
ArrayDequeOps -> IterableOps
Inherited from:
ArrayDequeOps
override def hashCode: Int

Return the hashCode as the unique id.

Return the hashCode as the unique id.

Attributes

Definition Classes
Identifiable -> Any
Inherited from:
Identifiable
override def head: SimActor

Attributes

Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
override def headOption: Option[SimActor]

Attributes

Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
def indexOf[B >: SimActor](elem: B): Int

Attributes

Inherited from:
SeqOps
def indexOf[B >: SimActor](elem: B, from: Int): Int

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: SimActor](that: Seq[B]): Int

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: SimActor](that: Seq[B], from: Int): Int

Attributes

Inherited from:
SeqOps
def indexWhere(p: SimActor => Boolean): Int

Attributes

Inherited from:
SeqOps
def indexWhere(p: SimActor => Boolean, from: Int): Int

Attributes

Inherited from:
SeqOps
def indices: Range

Attributes

Inherited from:
SeqOps
def init: Queue[SimActor]

Attributes

Inherited from:
IterableOps
def initComponent(label: String, loc: Array[Double]): Unit

Initialize this component (all of its 'var's).

Initialize this component (all of its 'var's).

Value parameters

label

the name of this component

loc

the location of this component

Attributes

Inherited from:
Component
protected def initStats(label: String): Unit

Initialize this component's statistical collectors. Sample statistics: all Components. Time-persistent statistics: all except Gate, Source and Sink.

Initialize this component's statistical collectors. Sample statistics: all Components. Time-persistent statistics: all except Gate, Source and Sink.

Value parameters

label

the name of this component

Attributes

Inherited from:
Component
def inits: Iterator[Queue[SimActor]]

Attributes

Inherited from:
IterableOps
def insert(idx: Int, elem: SimActor): Unit

Attributes

Inherited from:
ArrayDeque
def insertAll(idx: Int, elems: IterableOnce[SimActor]): Unit

Attributes

Inherited from:
ArrayDeque
override def intersect[B >: SimActor](that: Seq[B]): Queue[SimActor]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
def isDefinedAt(idx: Int): Boolean

Attributes

Inherited from:
SeqOps
override def isEmpty: Boolean

Attributes

Definition Classes
ArrayDeque -> SeqOps -> IterableOnceOps
Inherited from:
ArrayDeque
override def isTraversableAgain: Boolean

Attributes

Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
override def iterableFactory: SeqFactory[Queue]

Attributes

Definition Classes
Queue -> ArrayDeque -> IndexedBuffer -> IndexedSeq -> IndexedSeq -> Buffer -> Seq -> Iterable -> Seq -> Iterable -> IterableOps
Inherited from:
Queue
def iterator: Iterator[SimActor]

Attributes

Inherited from:
IndexedSeqOps
override def knownSize: Int

Attributes

Definition Classes
ArrayDeque -> IndexedSeqOps -> Buffer -> Growable -> IterableOnce
Inherited from:
ArrayDeque
override def last: SimActor

Attributes

Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
def lastIndexOf[B >: SimActor](elem: B, end: Int): Int

Attributes

Inherited from:
SeqOps
def lastIndexOfSlice[B >: SimActor](that: Seq[B]): Int

Attributes

Inherited from:
SeqOps
def lastIndexOfSlice[B >: SimActor](that: Seq[B], end: Int): Int

Attributes

Inherited from:
SeqOps
def lastIndexWhere(p: SimActor => Boolean): Int

Attributes

Inherited from:
SeqOps
def lastIndexWhere(p: SimActor => Boolean, end: Int): Int

Attributes

Inherited from:
SeqOps
def lastOption: Option[SimActor]

Attributes

Inherited from:
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[SimActor, B, Iterable.this.type]

Attributes

Inherited from:
Iterable
def length: Int

Attributes

Inherited from:
ArrayDeque
final override def lengthCompare(that: Iterable[_]): Int

Attributes

Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
final override def lengthCompare(len: Int): Int

Attributes

Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
final def lengthIs: SizeCompareOps

Attributes

Inherited from:
SeqOps
def lift: Int => Option[SimActor]

Attributes

Inherited from:
PartialFunction
override def map[B](f: SimActor => B): Queue[B]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def mapInPlace(f: SimActor => SimActor): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def max[B >: SimActor](implicit ord: Ordering[B]): SimActor

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: SimActor => B)(implicit ord: Ordering[B]): SimActor

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: SimActor => B)(implicit ord: Ordering[B]): Option[SimActor]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: SimActor](implicit ord: Ordering[B]): Option[SimActor]

Attributes

Inherited from:
IterableOnceOps
def me: String

Return the full identity.

Return the full identity.

Attributes

Inherited from:
Identifiable
def min[B >: SimActor](implicit ord: Ordering[B]): SimActor

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: SimActor => B)(implicit ord: Ordering[B]): SimActor

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: SimActor => B)(implicit ord: Ordering[B]): Option[SimActor]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: SimActor](implicit ord: Ordering[B]): Option[SimActor]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String

Attributes

Inherited from:
IterableOnceOps
def name_=(name: String): Unit

Set the name.

Set the name.

Value parameters

name

the name to assign

Attributes

Inherited from:
Identifiable
protected def newSpecificBuilder: Builder[SimActor, Queue[SimActor]]

Attributes

Inherited from:
IterableFactoryDefaults
def nonEmpty: Boolean

Attributes

Inherited from:
IterableOnceOps
def orElse[A1 <: Int, B1 >: SimActor](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

Attributes

Inherited from:
PartialFunction
override def padTo[B >: SimActor](len: Int, elem: B): Queue[B]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
def padToInPlace(len: Int, elem: SimActor): Buffer.this.type

Attributes

Inherited from:
Buffer
override def partition(p: SimActor => Boolean): (Queue[SimActor], Queue[SimActor])

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
override def partitionMap[A1, A2](f: SimActor => Either[A1, A2]): (Queue[A1], Queue[A2])

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
def patch[B >: SimActor](from: Int, other: IterableOnce[B], replaced: Int): Queue[B]

Attributes

Inherited from:
SeqOps
def patchInPlace(from: Int, patch: IterableOnce[SimActor], replaced: Int): IndexedBuffer.this.type

Attributes

Inherited from:
IndexedBuffer
def permutations: Iterator[Queue[SimActor]]

Attributes

Inherited from:
SeqOps

Return time persistent statistics for value for this component (e.g. Number in queue).

Return time persistent statistics for value for this component (e.g. Number in queue).

Attributes

Inherited from:
Component
def prepend(elem: SimActor): ArrayDeque.this.type

Attributes

Inherited from:
ArrayDeque
override def prependAll(elems: IterableOnce[SimActor]): ArrayDeque.this.type

Attributes

Definition Classes
ArrayDeque -> Buffer
Inherited from:
ArrayDeque
override def prepended[B >: SimActor](elem: B): Queue[B]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
override def prependedAll[B >: SimActor](prefix: IterableOnce[B]): Queue[B]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
def product[B >: SimActor](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def reduce[B >: SimActor](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: SimActor](op: (B, SimActor) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: SimActor](op: (B, SimActor) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: SimActor](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: SimActor](op: (SimActor, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: SimActor](op: (SimActor, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def remove(idx: Int): SimActor

Attributes

Inherited from:
ArrayDeque
def remove(idx: Int, count: Int): Unit

Attributes

Inherited from:
ArrayDeque
def removeAll(p: SimActor => Boolean): Seq[SimActor]

Attributes

Inherited from:
ArrayDeque
def removeAll(): Seq[SimActor]

Attributes

Inherited from:
ArrayDeque

Attributes

Inherited from:
ArrayDeque
def removeFirst(p: SimActor => Boolean, from: Int): Option[SimActor]

Attributes

Inherited from:
ArrayDeque
def removeHead(resizeInternalRepr: Boolean): SimActor

Attributes

Inherited from:
ArrayDeque
def removeHeadOption(resizeInternalRepr: Boolean): Option[SimActor]

Attributes

Inherited from:
ArrayDeque
def removeHeadWhile(f: SimActor => Boolean): Seq[SimActor]

Attributes

Inherited from:
ArrayDeque
def removeLast(resizeInternalRepr: Boolean): SimActor

Attributes

Inherited from:
ArrayDeque
def removeLastOption(resizeInternalRepr: Boolean): Option[SimActor]

Attributes

Inherited from:
ArrayDeque
def removeLastWhile(f: SimActor => Boolean): Seq[SimActor]

Attributes

Inherited from:
ArrayDeque
final protected def requireBounds(idx: Int, until: Int): Unit

Attributes

Inherited from:
ArrayDequeOps
override def reverse: Queue[SimActor]

Attributes

Definition Classes
ArrayDequeOps -> SeqOps
Inherited from:
ArrayDequeOps
override def reverseIterator: Iterator[SimActor]

Attributes

Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
override protected def reversed: Iterable[SimActor]

Attributes

Definition Classes
IndexedSeqOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def runWith[U](action: SimActor => U): Int => Boolean

Attributes

Inherited from:
PartialFunction
def sameElements[B >: SimActor](that: IterableOnce[B]): Boolean

Attributes

Inherited from:
SeqOps
def scala$collection$SeqOps$$super$concat[B >: SimActor](suffix: IterableOnce[B]): Queue[B]

Attributes

Inherited from:
SeqOps
def scala$collection$SeqOps$$super$sizeCompare(that: Iterable[_]): Int

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
Cloneable
def scan[B >: SimActor](z: B)(op: (B, B) => B): Queue[B]

Attributes

Inherited from:
IterableOps
override def scanLeft[B](z: B)(op: (B, SimActor) => B): Queue[B]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def scanRight[B](z: B)(op: (SimActor, B) => B): Queue[B]

Attributes

Inherited from:
IterableOps
override def search[B >: SimActor](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult

Attributes

Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
override def search[B >: SimActor](elem: B)(implicit ord: Ordering[B]): SearchResult

Attributes

Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
def segmentLength(p: SimActor => Boolean, from: Int): Int

Attributes

Inherited from:
SeqOps
final def segmentLength(p: SimActor => Boolean): Int

Attributes

Inherited from:
SeqOps
def simType: String

Get the type of the simulation object.

Get the type of the simulation object.

Attributes

Inherited from:
Identifiable
final override def size: Int

Attributes

Definition Classes
SeqOps -> IterableOnceOps
Inherited from:
SeqOps
final override def sizeCompare(that: Iterable[_]): Int

Attributes

Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
final override def sizeCompare(otherSize: Int): Int

Attributes

Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
final def sizeIs: SizeCompareOps

Attributes

Inherited from:
IterableOps
override def slice(from: Int, until: Int): Queue[SimActor]

Attributes

Definition Classes
ArrayDequeOps -> IterableOps -> IterableOnceOps
Inherited from:
ArrayDequeOps
def sliceInPlace(start: Int, end: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
override def sliding(window: Int, step: Int): Iterator[Queue[SimActor]]

Attributes

Definition Classes
ArrayDequeOps -> IterableOps
Inherited from:
ArrayDequeOps
def sliding(size: Int): Iterator[Queue[SimActor]]

Attributes

Inherited from:
IterableOps
def sortBy[B](f: SimActor => B)(implicit ord: Ordering[B]): Queue[SimActor]

Attributes

Inherited from:
SeqOps
def sortInPlace[B >: SimActor]()(implicit ord: Ordering[B]): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def sortInPlaceBy[B](f: SimActor => B)(implicit ord: Ordering[B]): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def sortInPlaceWith(lt: (SimActor, SimActor) => Boolean): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def sortWith(lt: (SimActor, SimActor) => Boolean): Queue[SimActor]

Attributes

Inherited from:
SeqOps
def sorted[B >: SimActor](implicit ord: Ordering[B]): Queue[SimActor]

Attributes

Inherited from:
SeqOps
override def span(p: SimActor => Boolean): (Queue[SimActor], Queue[SimActor])

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
override def splitAt(n: Int): (Queue[SimActor], Queue[SimActor])

Attributes

Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def startsWith[B >: SimActor](that: IterableOnce[B], offset: Int): Boolean

Attributes

Inherited from:
SeqOps
override def stepper[S <: Stepper[_]](implicit shape: StepperShape[SimActor, S]): S & EfficientSplit

Attributes

Definition Classes
ArrayDeque -> IndexedSeqOps -> IterableOnce
Inherited from:
ArrayDeque
def subtractAll(xs: IterableOnce[SimActor]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
override def subtractOne(elem: SimActor): ArrayDeque.this.type

Attributes

Definition Classes
ArrayDeque -> Buffer -> Shrinkable
Inherited from:
ArrayDeque
def sum[B >: SimActor](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def tail: Queue[SimActor]

Attributes

Inherited from:
IterableOps
def tails: Iterator[Queue[SimActor]]

Attributes

Inherited from:
IterableOps
override def take(n: Int): Queue[SimActor]

Attributes

Definition Classes
IndexedSeqOps -> IterableOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def takeInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
override def takeRight(n: Int): Queue[SimActor]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
def takeRightInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
def takeWhile(p: SimActor => Boolean): Queue[SimActor]

Attributes

Inherited from:
IterableOps
def takeWhileInPlace(p: SimActor => Boolean): Buffer.this.type

Attributes

Inherited from:
Buffer
def tally(duration: Double): Unit

Tally the duration (e.g., waiting time) of an activity or delay.

Tally the duration (e.g., waiting time) of an activity or delay.

Value parameters

duration

the time duration

Attributes

Inherited from:
Component
override def tapEach[U](f: SimActor => U): Queue[SimActor]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def to[C1](factory: Factory[SimActor, C1]): C1

Attributes

Inherited from:
IterableOnceOps
override def toArray[B >: SimActor : ClassTag]: Array[B]

Attributes

Definition Classes
ArrayDeque -> IterableOnceOps
Inherited from:
ArrayDeque
final def toBuffer[B >: SimActor]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps
def toIndexedSeq: IndexedSeq[SimActor]

Attributes

Inherited from:
IterableOnceOps
def toList: List[SimActor]

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: SimActor <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
def toSeq: Seq[SimActor]

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: SimActor]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Seq -> Function1 -> Iterable -> Any
Inherited from:
Seq
def toVector: Vector[SimActor]

Attributes

Inherited from:
IterableOnceOps
def transpose[B](implicit asIterable: SimActor => Iterable[B]): Queue[Queue[B]]

Attributes

Inherited from:
IterableOps
def trimToSize(): Unit

Attributes

Inherited from:
ArrayDeque
def unapply(a: Int): Option[SimActor]

Attributes

Inherited from:
PartialFunction
override def unzip[A1, A2](implicit asPair: SimActor => (A1, A2)): (Queue[A1], Queue[A2])

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
override def unzip3[A1, A2, A3](implicit asTriple: SimActor => (A1, A2, A3)): (Queue[A1], Queue[A2], Queue[A3])

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
def update(idx: Int, elem: SimActor): Unit

Attributes

Inherited from:
ArrayDeque
def updated[B >: SimActor](index: Int, elem: B): Queue[B]

Attributes

Inherited from:
SeqOps
override def view: IndexedSeqView[SimActor]

Attributes

Definition Classes
IndexedSeqOps -> SeqOps -> IterableOps
Inherited from:
IndexedSeqOps
def withFilter(p: SimActor => Boolean): WithFilter[SimActor, Queue]

Attributes

Inherited from:
IterableOps
override def zip[B](that: IterableOnce[B]): Queue[(SimActor, B)]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
def zipAll[A1 >: SimActor, B](that: Iterable[B], thisElem: A1, thatElem: B): Queue[(A1, B)]

Attributes

Inherited from:
IterableOps
override def zipWithIndex: Queue[(SimActor, Int)]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps

Deprecated and Inherited methods

final def +=(elem1: SimActor, elem2: SimActor, elems: SimActor*): Growable.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Growable
def -=(elem1: SimActor, elem2: SimActor, elems: SimActor*): Shrinkable.this.type

Attributes

Deprecated
[Since version 2.13.3] Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Shrinkable
final def /:[B](z: B)(op: (B, SimActor) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: (SimActor, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, SimActor) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
final def append(elems: SimActor*): Buffer.this.type

Attributes

Deprecated
[Since version 2.13.0] Use appendAll instead
Inherited from:
Buffer
def companion: IterableFactory[Queue]

Attributes

Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
final def copyToBuffer[B >: SimActor](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
def hasDefiniteSize: Boolean

Attributes

Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
final def prefixLength(p: SimActor => Boolean): Int

Attributes

Deprecated
[Since version 2.13.0] Use segmentLength instead of prefixLength
Inherited from:
SeqOps
final def prepend(elems: SimActor*): Buffer.this.type

Attributes

Deprecated
[Since version 2.13.0] Use prependAll instead
Inherited from:
Buffer
final def repr: Queue[SimActor]

Attributes

Deprecated
[Since version 2.13.0] Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Inherited from:
IterableOps
def reverseMap[B](f: SimActor => B): Queue[B]

Attributes

Deprecated
[Since version 2.13.0] Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)
Inherited from:
SeqOps
def seq: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
final def toIterable: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.7] toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
Iterable
final def toIterator: Iterator[SimActor]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[SimActor]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
final def toTraversable: Iterable[SimActor]

Attributes

Deprecated
[Since version 2.13.0] toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
IterableOps
final def transform(f: SimActor => SimActor): SeqOps.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `mapInPlace` on an `IndexedSeq` instead
Inherited from:
SeqOps
def trimEnd(n: Int): Unit

Attributes

Deprecated
[Since version 2.13.4] use dropRightInPlace instead
Inherited from:
Buffer
def trimStart(n: Int): Unit

Attributes

Deprecated
[Since version 2.13.4] use dropInPlace instead
Inherited from:
Buffer
final def union[B >: SimActor](that: Seq[B]): Queue[B]

Attributes

Deprecated
[Since version 2.13.0] Use `concat` instead
Inherited from:
SeqOps
override def view(from: Int, until: Int): IndexedSeqView[SimActor]

Attributes

Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps

Inherited fields

val id: Int

The globally unique integer identifier

The globally unique integer identifier

Attributes

Inherited from:
Identifiable