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. 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. def clock: Double

    Return the current value of the director's clock.

    Return the current value of the director's clock.

    Definition Classes
    Modelable
  2. def report(): Unit

    Report the simulation results.

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

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