Packages

c

apps.event

CallCenterModel2

class CallCenterModel2 extends Model

The CallCenterModel2 class defines a simple Event Graph model of a Call Center where service is provided by one tele-service representative and models an M/M/1/1 queue.

Linear Supertypes
Model, Identifiable, Error, Modelable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CallCenterModel2
  2. Model
  3. Identifiable
  4. Error
  5. Modelable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CallCenterModel2(name: String, nArrivals: Int, iArrivalRV: Variate, serviceRV: Variate)

    name

    the name of the simulation model

    nArrivals

    the number of arrivals to generate (stopping condition)

    iArrivalRV

    the inter-arrival time distribution (Random Variate)

    serviceRV

    the service time distribution (Random Variate)

Type Members

  1. case class Arrival(call: Entity, delay: Double) extends Event with Product with Serializable

    Arrival is a subclass of Event for handling arrival events 'MakeCall'.

    Arrival is a subclass of Event for handling arrival events 'MakeCall'.

    call

    the entity that arrives, in this case a phone call

    delay

    the time delay for this event's occurrence

  2. case class Departure(call: Entity, delay: Double) extends Event with Product with Serializable

    Departure is a subclass of Event for handling departure events 'HangUp'.

    Departure is a subclass of Event for handling departure events 'HangUp'.

    call

    the entity that arrives, in this case a phone call

    delay

    the time delay for this event's occurrence

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val HOUR: Double
    Attributes
    protected
    Definition Classes
    Modelable
  5. val MINUTE: Double
    Attributes
    protected
    Definition Classes
    Modelable
  6. val _clock: Double
    Attributes
    protected
    Definition Classes
    Modelable
  7. val aLink: Array[CausalLink]
  8. val aLoc: Array[Double]
  9. val aProto: EventNode
  10. def addStats(stat: Statistic*): Unit
    Definition Classes
    Model
  11. def animate(who: Identifiable, what: scalation.animation.CommandType.Value, color: Color, shape: Shape, from: Event, to: Event, at: Array[Double]): Unit
    Definition Classes
    Model
  12. def animate(who: Identifiable, what: scalation.animation.CommandType.Value, color: Color, shape: Shape, at: Array[Double]): Unit
    Definition Classes
    Model
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def cancel(event: Event): Unit
    Definition Classes
    Model
  15. def clock: Double
    Definition Classes
    Modelable
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  17. val dLoc: Array[Double]
  18. val dProto: EventNode
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(that: Any): Boolean
    Definition Classes
    Identifiable → AnyRef → Any
  21. val firstArrival: Entity
  22. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def getStatistics: ListBuffer[Statistic]
    Definition Classes
    Model
  25. def hashCode(): Int
    Definition Classes
    Identifiable → AnyRef → Any
  26. val id: Int
    Definition Classes
    Identifiable
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def leave(entity: Entity): Unit
    Definition Classes
    Model
  29. def me: String
    Definition Classes
    Identifiable
  30. var nArr: Double
  31. var nIn: Double
  32. var nLost: Double
  33. var nOut: Double
  34. def name: String
    Definition Classes
    Identifiable
  35. def name_=(name: String): Unit
    Definition Classes
    Identifiable
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. def report(vars: (String, Double)*): Unit
    Definition Classes
    Model
  40. def reportStats(): Unit
    Definition Classes
    Model
  41. def schedule(event: Event): Unit
    Definition Classes
    Model
  42. def simType: String
    Definition Classes
    Identifiable
  43. def simulate(startTime: Double): Unit
    Definition Classes
    Model → Modelable
  44. val simulating: Boolean
    Attributes
    protected
    Definition Classes
    Modelable
  45. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  46. val t_a_stat: Statistic
  47. val t_s_stat: Statistic
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Model

Inherited from Identifiable

Inherited from Error

Inherited from Modelable

Inherited from AnyRef

Inherited from Any

Ungrouped