CallCenterModel

scalation.simulation.tableau.CallCenterModel
class CallCenterModel(name: String, m: Int, rv: Array[Variate]) extends Model

The CallCenterModel class customizes scalation.simulation.tableau.Model for Call Center simulations by overriding the 'simulate' method.

Value parameters

label

the column labels for the matrix

m

the number entities to process before stopping

name

the name of simulation model

rv

the random variate generators to use

Attributes

Graph
Supertypes
class Model
trait Modelable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def simulate(startTime: Double): 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.

Value parameters

startTime

the start time for the simulation

Attributes

Definition Classes

Inherited methods

def clock: Double

Return the current value of the director's clock.

Return the current value of the director's clock.

Attributes

Inherited from:
Modelable
def report(): Unit

Report the simulation results as a entity time trace followed by column sums and averages.

Report the simulation results as a entity time trace followed by column sums and averages.

Attributes

Inherited from:
Model
def save(): Unit

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.

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.

Attributes

Inherited from:
Model
def summary(): Unit

Summarize the number and time in the queue (q), service (s) and system (y). Must call report before summary. Override as needed.

Summarize the number and time in the queue (q), service (s) and system (y). Must call report before summary. Override as needed.

Attributes

Inherited from:
Model

Produce a time-line of the simualtion giving all the event times in order and occupancy of (number in) the system L_y(t) at these event times.

Produce a time-line of the simualtion giving all the event times in order and occupancy of (number in) the system L_y(t) at these event times.

Attributes

Inherited from:
Model

Inherited fields

protected var _clock: Double

The clock that keep track of the current simulation time

The clock that keep track of the current simulation time

Attributes

Inherited from:
Modelable
val e_a: Int

Attributes

Inherited from:
Model
val e_d: Int

Attributes

Inherited from:
Model
protected var simulating: Boolean

Simulation execution/termination flag

Simulation execution/termination flag

Attributes

Inherited from:
Modelable