scalation.simulation.event.example_1

Members list

Type members

Classlikes

class BankModel(name: String, reps: Int, nStop: Int, stream: Int) extends Model

The BankModel class defines a simple Event-Scheduling model of a Bank where service is provided by one teller and models an M/M/1 queue.

The BankModel class defines a simple Event-Scheduling model of a Bank where service is provided by one teller and models an M/M/1 queue.

Value parameters

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 Identifiable
trait Modelable
class Object
trait Matchable
class Any
Show all
class BankModel2(lambda: Double, mu: Double, name: String, reps: Int, nStop: Int, stream: Int) extends Model

The BankModel2 class defines a simple Event-Scheduling model of a Bank where service is provided by one teller and models an M/M/1 queue.

The BankModel2 class defines a simple Event-Scheduling model of a Bank where service is provided by one teller and models an M/M/1 queue.

Value parameters

lambda

the customer arrival rate (per hr)

mu

the customer service rate (per hr)

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 Identifiable
trait Modelable
class Object
trait Matchable
class Any
Show all
class BankModel3(name: String, reps: Int, nStop: Int, stream: Int) extends Model

The BankModel3 class defines a simple Event Graph model of a Bank where service is provided by one teller and models an M/M/1 queue.

The BankModel3 class defines a simple Event Graph model of a Bank where service is provided by one teller and models an M/M/1 queue.

Value parameters

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 Identifiable
trait Modelable
class Object
trait Matchable
class Any
Show all
class CallCenterModel(name: String, reps: Int, nStop: Int, stream: Int) extends Model

The CallCenterModel class defines a simple Event Graph model of a Call Center where service is provided by one tele-service representative and models an M/M/1/1 queue.

The CallCenterModel class defines a simple Event Graph model of a Call Center where service is provided by one tele-service representative and models an M/M/1/1 queue.

Value parameters

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 Identifiable
trait Modelable
class Object
trait Matchable
class Any
Show all
class CallCenterModel2(name: String, reps: Int, nStop: Int, stream: Int) extends Model

The CallCenterModel2 class defines a simple Event Graph model of a Call Center where service is provided by one tele-service representative and models an M/M/1/1 queue.

The CallCenterModel2 class defines a simple Event Graph model of a Call Center where service is provided by one tele-service representative and models an M/M/1/1 queue.

Value parameters

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 Identifiable
trait Modelable
class Object
trait Matchable
class Any
Show all
class FastFoodModel(name: String, reps: Int, nStop: Int, nUnits: Int, stream: Int) extends Model

The FastFoodModel class defines a simple Event-Scheduling model of a FastFood restaurant where service is provided by nUnits servers and models an M/M/c/k queue. It estimates the restaurant profit based on the number servers.

The FastFoodModel class defines a simple Event-Scheduling model of a FastFood restaurant where service is provided by nUnits servers and models an M/M/c/k queue. It estimates the restaurant profit based on the number servers.

Value parameters

nStop

the number arrivals before stopping

nUnits

the number of servers

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 Identifiable
trait Modelable
class Object
trait Matchable
class Any
Show all
class MachineModel(name: String, reps: Int, nStop: Int, stream: Int) extends Model

The MachineModel class defines a simple Event-Scheduling model of a simple two-stage manufacturing process (machine shop). Tandem M/M/1/4 Queues (queue only capacity = 4-1 = 3).

The MachineModel class defines a simple Event-Scheduling model of a simple two-stage manufacturing process (machine shop). Tandem M/M/1/4 Queues (queue only capacity = 4-1 = 3).

Value parameters

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 Identifiable
trait Modelable
class Object
trait Matchable
class Any
Show all
class PoissonModel(name: String, reps: Int, nStop: Int, stream: Int) extends Model

The PoissonModel models the detection of particles (e.g., gamma rays) from the decay of radioactive atoms as a Poisson Process.

The PoissonModel models the detection of particles (e.g., gamma rays) from the decay of radioactive atoms as a Poisson Process.

Value parameters

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

See also
Supertypes
class Model
trait Identifiable
trait Modelable
class Object
trait Matchable
class Any
Show all
class PoissonModel2(name: String, reps: Int, nStop: Int, stream: Int) extends Model

The PoissonModel models the detection of particles (e.g., gamma rays) from the decay of radioactive atoms as a Poisson Process.

The PoissonModel models the detection of particles (e.g., gamma rays) from the decay of radioactive atoms as a Poisson Process.

Value parameters

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

See also
Supertypes
class Model
trait Identifiable
trait Modelable
class Object
trait Matchable
class Any
Show all
final class runBank

Attributes

Supertypes
class Object
trait Matchable
class Any
final class runBank2

Attributes

Supertypes
class Object
trait Matchable
class Any
final class runBank3

Attributes

Supertypes
class Object
trait Matchable
class Any
final class runCallCenter

Attributes

Supertypes
class Object
trait Matchable
class Any
final class runCallCenter2

Attributes

Supertypes
class Object
trait Matchable
class Any
final class runFastFood

Attributes

Supertypes
class Object
trait Matchable
class Any
final class runMachine

Attributes

Supertypes
class Object
trait Matchable
class Any
final class runPoisson

Attributes

Supertypes
class Object
trait Matchable
class Any
final class runPoisson2

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.event.example_1.runBank

Attributes

def runBank2(): Unit

The runBank2 function is used to launch the BankModel2 class.

The runBank2 function is used to launch the BankModel2 class.

runMain scalation.simulation.event.example_1.runBank2

Attributes

def runBank3(): Unit

The runBank3 function is used to launch the BankModel3 class. It is the same as runBank, except that causal links are added to enable the model to be animated as an Event Graph.

The runBank3 function is used to launch the BankModel3 class. It is the same as runBank, except that causal links are added to enable the model to be animated as an Event Graph.

runMain scalation.simulation.event.example_1.runBank3

Attributes

def runCallCenter(): Unit

The runCallCenter function is used to launch the CallCenterModel class.

The runCallCenter function is used to launch the CallCenterModel class.

runMain scalation.simulation.event.example_1.runCallCenter

Attributes

def runCallCenter2(): Unit

The runCallCenter2 function is used to launch the CallCenterModel2 class. It is the same as runCallCenter, except that causal links are added to enable the model to be animated as an Event Graph.

The runCallCenter2 function is used to launch the CallCenterModel2 class. It is the same as runCallCenter, except that causal links are added to enable the model to be animated as an Event Graph.

runMain scalation.simulation.event.example_1.runCallCenter2

Attributes

def runFastFood(): Unit

The runFastFood function is used to launch the FastFoodModel class.

The runFastFood function is used to launch the FastFoodModel class.

runMain scalation.simulation.event.example_1.runFastFood

Attributes

def runMachine(): Unit

The runMachine function is used to launch the MachineModel class.

The runMachine function is used to launch the MachineModel class.

runMain scalation.simulation.event.example_1.runMachine

Attributes

def runPoisson(): Unit

The runPoisson function is used to launch the PoissonModel class.

The runPoisson function is used to launch the PoissonModel class.

runMain scalation.simulation.event.example_1.runPoisson

Attributes

def runPoisson2(): Unit

The runPoisson2 function is used to launch the PoissonModel2 class. It is the same as runPoisson, except that causal links are added to enable the model to be animated as an Event Graph.

The runPoisson2 function is used to launch the PoissonModel2 class. It is the same as runPoisson, except that causal links are added to enable the model to be animated as an Event Graph.

runMain scalation.simulation.event.example_1.runPoisson2

Attributes