scalation.simulation.process.example_MIR

Members list

Type members

Classlikes

class BankModel(name: String, reps: Int, animating: Boolean, aniRatio: Double, nStop: Int, stream: Int) extends Model

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 from minutes to seconds 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 from minutes to seconds 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

nStop

the number arrivals before stopping

name

the name of the simulation model

reps

the number of independent replications to run

stream

the base random number stream (0 to 999)

Attributes

Supertypes
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

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_MIR.runBank

Attributes