Packages

class Model extends Modelable

The Model class support tableau oriented simulation models in which each simulation entity's events are recorded in tabular form (in a matrix). This is analogous to Spreadsheet simulation.

See also

http://www.informs-sim.org/wsc06papers/002.pdf

Linear Supertypes
Modelable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Model
  2. Modelable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Model(name: String, m: Int, rv: Array[Variate], label: Array[String])

    name

    the name of simulation model

    m

    the number entities to process before stopping

    rv

    the random variate generators to use

    label

    the column labels for the matrix

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

    The number of seconds in one hour

    The number of seconds in one hour

    Attributes
    protected
    Definition Classes
    Modelable
  5. val MINUTE: Double

    The number of seconds in one minute

    The number of seconds in one minute

    Attributes
    protected
    Definition Classes
    Modelable
  6. val _clock: Double

    The clock that keep track of the current simulation time

    The clock that keep track of the current simulation time

    Attributes
    protected
    Definition Classes
    Modelable
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clock: Double

    Return the current value of the director's clock.

    Return the current value of the director's clock.

    Definition Classes
    Modelable
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. def report(): Unit

    Report the simulation results.

  20. def save(): Unit

    Save the table/matrix in a Comma Separated Value (.csv) file suitable for opening in a spreadsheet.

    Save the table/matrix in a Comma Separated Value (.csv) file suitable for opening in a spreadsheet. Note, the file 'data.tableau.csv' is overwritten.

  21. def simulate(startTime: Double = 0.0): Unit

    Perform tableau-based simulation by recording timing information about the 'i'th entity in the 'i'th row of the matrix.

    Perform tableau-based simulation by recording timing information about the 'i'th entity in the 'i'th row of the matrix. This method may need to be overridden for other models.

    startTime

    the start time of the simulation

    Definition Classes
    ModelModelable
  22. val simulating: Boolean

    Simulation execution/termination flag

    Simulation execution/termination flag

    Attributes
    protected
    Definition Classes
    Modelable
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. val table: MatrixD

    the table holding information about entity timing

    the table holding information about entity timing

    Attributes
    protected
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Modelable

Inherited from AnyRef

Inherited from Any

Ungrouped