Packages

class ERModel extends Model

The ERModel class defines a simple process-interaction model of an Emergency Room 'ER' model where service is provided by one or more nurses and one or more doctors. A patient will first see a nurse and then a doctor.

Linear Supertypes
Model, Component, Locatable, Identifiable, Modelable, Coroutine, Error, Runnable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ERModel
  2. Model
  3. Component
  4. Locatable
  5. Identifiable
  6. Modelable
  7. Coroutine
  8. Error
  9. Runnable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ERModel(name: String, nArrivals: Int, iArrivalRV: Variate, nurses: Int, doctors: Int, nurseRV: Variate, doctorRV: Variate, moveRV: Variate)

    name

    the name of the 'ER' model

    nArrivals

    the number of arrivals to generate (stopping condition)

    iArrivalRV

    the inter-arrival time distribution

    nurses

    the number of nurses (service units)

    doctors

    the number of doctors (service units)

    nurseRV

    the nurse service time distribution

    doctorRV

    the doctor service time distribution

    moveRV

    the time distribution for motion along transports

Type Members

  1. case class Patient() extends SimActor with Product with Serializable

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 DIAM: Double
    Definition Classes
    Component
  5. val HOUR: Double
    Attributes
    protected
    Definition Classes
    Modelable
  6. val MINUTE: Double
    Attributes
    protected
    Definition Classes
    Modelable
  7. val RAD: Double
    Definition Classes
    Component
  8. val _clock: Double
    Attributes
    protected
    Definition Classes
    Modelable
  9. def accum(value: Double): Unit
    Definition Classes
    Component
  10. def act(): Unit
    Definition Classes
    Model → Coroutine
  11. def addComponent(_parts: Component*): Unit
    Definition Classes
    Model
  12. def addComponents(_parts: List[Component]*): Unit
    Definition Classes
    Model
  13. def aggregate(): Unit
    Definition Classes
    Component
  14. def animate(who: Identifiable, what: scalation.animation.CommandType.Value, color: Color, shape: Shape, from: Component, to: Component, at: Array[Double]): Unit
    Definition Classes
    Model
  15. def animate(who: Identifiable, what: scalation.animation.CommandType.Value, color: Color, shape: Shape, at: Array[Double]): Unit
    Definition Classes
    Model
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def at: Array[Double]
    Definition Classes
    Locatable
  18. def at_=(at: Array[Double]): Unit
    Definition Classes
    Locatable
  19. def cleanup(): Unit
    Definition Classes
    Model
  20. def clock: Double
    Definition Classes
    Modelable
  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  22. def complete(): Unit
    Definition Classes
    Model
  23. def composite: Boolean
    Definition Classes
    Component
  24. def counts: (Int, Int, Int)
    Definition Classes
    Coroutine
  25. def director: Model
    Definition Classes
    Component
  26. def director_=(director: Model): Unit
    Definition Classes
    Component
  27. def display(): Unit
    Definition Classes
    Model → Component
  28. val doctor: Resource
  29. val doctorQ: WaitQueue
  30. val door: Sink
  31. def durationStat: Statistic
    Definition Classes
    Component
  32. val entry: Source
  33. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def equals(that: Any): Boolean
    Definition Classes
    Identifiable → AnyRef → Any
  35. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  36. val full: Boolean
    Definition Classes
    Model
  37. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. def getStatistics: ListBuffer[Statistic]
    Definition Classes
    Model
  39. def hashCode(): Int
    Definition Classes
    Identifiable → AnyRef → Any
  40. val id: Int
    Definition Classes
    Identifiable
  41. def initComponent(label: String, loc: Array[Double]): Unit
    Definition Classes
    Component
  42. def initStats(label: String): Unit
    Definition Classes
    Component
  43. def interrupt(): Unit
    Definition Classes
    Coroutine
  44. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  45. def me: String
    Definition Classes
    Identifiable
  46. def name: String
    Definition Classes
    Identifiable
  47. def name_=(name: String): Unit
    Definition Classes
    Identifiable
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  51. val nurse: Resource
  52. val nurseQ: WaitQueue
  53. def persistentStat: TimeStatistic
    Definition Classes
    Component
  54. val reps: Int
    Definition Classes
    Model
  55. def reschedule(actor: SimActor): Unit
    Definition Classes
    Model
  56. def reset(): Unit
    Definition Classes
    Model
  57. def resetStats(rep: Int): Unit
    Definition Classes
    Model
  58. def run(): Unit
    Definition Classes
    Coroutine → Runnable
  59. def simType: String
    Definition Classes
    Identifiable
  60. def simulate(_startTime: Double): Unit
    Definition Classes
    Model → Modelable
  61. val simulating: Boolean
    Attributes
    protected
    Definition Classes
    Modelable
  62. def start(): Future[_]
    Definition Classes
    Coroutine
  63. val statV: HashMap[String, VectorD]
    Definition Classes
    Model
  64. var stopTime: Double
    Definition Classes
    Model
  65. def stopped: Boolean
    Definition Classes
    Model
  66. val subpart: ListBuffer[Component]
    Definition Classes
    Component
  67. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  68. def tally(duration: Double): Unit
    Definition Classes
    Component
  69. def theActor: SimActor
    Definition Classes
    Model
  70. val toDoctorQ: Transport
  71. val toDoor: Transport
  72. val toNurseQ: Transport
  73. def toString(): String
    Definition Classes
    AnyRef → Any
  74. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  75. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  76. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  77. def yyield(that: Coroutine, quit: Boolean): Unit
    Definition Classes
    Coroutine

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 Component

Inherited from Locatable

Inherited from Identifiable

Inherited from Modelable

Inherited from Coroutine

Inherited from Error

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped