scalation.simulation.process.example_MBM
Members list
Type members
Classlikes
The BankModel
class defines a simple process-interaction model of a bank where service is provided by one or more tellers. This version reduces the impact of transports on simulation by (1) using the transport's 'jump' method rather than its 'move' method and (2) reducing the time through the transport by an order of magnitude. It also has animation turned off, by default. Caveat: must add 'from' and 'to' components before transport!!
The BankModel
class defines a simple process-interaction model of a bank where service is provided by one or more tellers. This version reduces the impact of transports on simulation by (1) using the transport's 'jump' method rather than its 'move' method and (2) reducing the time through the transport by an order of magnitude. It also has animation turned off, by default. Caveat: must add 'from' and 'to' components before transport!!
Value parameters
- aniRatio
-
the ratio of simulation speed vs. animation speed
- animating
-
whether to animate the model
- nBatch
-
the number of batches to run
- name
-
the name of the simulation model
- sizeB
-
the size of each batch
- stream
-
the base random number stream (0 to 999)
Attributes
- Supertypes
-
class Model_MBMclass Modeltrait Componenttrait Locatabletrait Identifiabletrait Modelabletrait Completionclass Coroutinetrait Runnableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
The runBank
function is used to launch the BankModel
class.
The runBank
function is used to launch the BankModel
class.
runMain scalation.simulation.process.example_MBM.runBank
Attributes
The testBank
function is used to test the autocorrelation between the batches in the BankModel
class. Obtain the batchMeans vector from statV by calling reportV (true) in Model_MBM
The testBank
function is used to test the autocorrelation between the batches in the BankModel
class. Obtain the batchMeans vector from statV by calling reportV (true) in Model_MBM
runMain scalation.simulation.process.example_MBM.testCorrBank