Packages

  • package root
    Definition Classes
    root
  • package scalation
    Definition Classes
    root
  • package tableau

    The tableau package contains classes for tableau oriented simulation models (similar to spreadsheet simulations).

    The tableau package contains classes for tableau oriented simulation models (similar to spreadsheet simulations).

    Definition Classes
    scalation
  • Model
  • ModelTest

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. Protected

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def report(): Unit

    Report the simulation results.

  19. 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.

  20. 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
  21. val simulating: Boolean

    Simulation execution/termination flag

    Simulation execution/termination flag

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

    the table holding information about entity timing

    the table holding information about entity timing

    Attributes
    protected
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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 Modelable

Inherited from AnyRef

Inherited from Any

Ungrouped