scalation.simulation.process.example_MBM

Members list

Type members

Classlikes

class BankModel(name: String, nBatch: Int, sizeB: Int, animating: Boolean, aniRatio: Double, stream: Int) extends Model_MBM

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_MBM
class Model
trait Component
trait Locatable
trait Identifiable
trait Modelable
trait Completion
class Coroutine
trait Runnable
class Object
trait Matchable
class Any
Show all
final class runBank

Attributes

Supertypes
class Object
trait Matchable
class Any
final class testCorrBank

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def runBank(): Unit

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

def testCorrBank(): Unit

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

Attributes