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
- Alphabetic
- By Inheritance
- Model
- Modelable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val HOUR: Double
The number of seconds in one hour
The number of seconds in one hour
- Attributes
- protected
- Definition Classes
- Modelable
- val MINUTE: Double
The number of seconds in one minute
The number of seconds in one minute
- Attributes
- protected
- Definition Classes
- Modelable
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clock: Double
Return the current value of the director's clock.
Return the current value of the director's clock.
- Definition Classes
- Modelable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def report(): Unit
Report the simulation results.
- 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.
- 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.
- val simulating: Boolean
Simulation execution/termination flag
Simulation execution/termination flag
- Attributes
- protected
- Definition Classes
- Modelable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val table: MatrixD
the table holding information about entity timing
the table holding information about entity timing
- Attributes
- protected
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated