package process
The process
package contains example applications for process oriented
simulation models.
- Alphabetic
- By Inheritance
- process
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
BankModel
extends Model
The
BankModel
class defines a simple process-interaction model of a bank where service is provided by one or more tellers. -
class
BankModel2
extends Model
The
BankModel2
class defines a simple process-interaction model of a bank where service is provided by one or more tellers. -
class
BankModelOpt
extends Model
The
BankModelOpt
class defines a simple process-interaction model of a bank where service is provided by one or more tellers. -
class
CallCenterModel
extends Model
The
CallCenterModel
class defines a simple process-interaction model of a call center where service is provided by one or more tele-service representatives. -
class
ERModel
extends Model
The
ERModel
class defines a simple process-interaction model of an Emergency Room 'ER' model where service is provided by one or more nurses and one or more doctors.The
ERModel
class defines a simple process-interaction model of an Emergency Room 'ER' model where service is provided by one or more nurses and one or more doctors. A patient will first see a nurse and then a doctor. -
class
ERModelOpt
extends Model
The
ERModelOpt
class defines a simple process-interaction model of an Emergency Room 'ER' model where service is provided by one or more nurses and one or more doctors.The
ERModelOpt
class defines a simple process-interaction model of an Emergency Room 'ER' model where service is provided by one or more nurses and one or more doctors. A patient will first see a nurse and then a doctor. -
class
IntersectionModel
extends Model
The
IntersectionModel
class simulates an intersection with four traffic lights (Gates
) and four roads.The
IntersectionModel
class simulates an intersection with four traffic lights (Gates
) and four roads. Each road consists of two routes with one in each direction. EachRoute
has two lanes (Transport
s). -
class
LoopModel
extends Model
The
LoopModel
class simulates a two-lane road in two directions, i.e., it has 2 West-bound lanes and 2 East-bound lanes.The
LoopModel
class simulates a two-lane road in two directions, i.e., it has 2 West-bound lanes and 2 East-bound lanes. It used a composite class calledRoute
, which will have aTransport
for each lane. -
class
MachineModel
extends Model
The
MachineModel
class defines a process-interaction model of a simple two-stage manufacturing process. -
class
RoadModel
extends Model
The
RoadModel
class simulates a two-lane road in two directions, i.e., it has 2 West-bound lanes and 2 East-bound lanes.The
RoadModel
class simulates a two-lane road in two directions, i.e., it has 2 West-bound lanes and 2 East-bound lanes. It used a composite class calledRoute
, which will have aTransport
for each lane. -
class
TrafficModel
extends Model
The
TrafficModel
class simulates an intersection with four traffic lights (Gates
) and four roads.The
TrafficModel
class simulates an intersection with four traffic lights (Gates
) and four roads. Each road consists of two routes with one in each direction. EachRoute
has two lanes (Transport
s).
Value Members
-
object
Bank
extends App with Modelable
The
Bank
object defines a particular scenario under which to execute the bank model.The
Bank
object defines a particular scenario under which to execute the bank model.- See also
scalation.process.ModelTest for another example of test code. > run-main apps.process.Bank
-
object
Bank2
extends App with Modelable
The
Bank2
object defines a particular scenario under which to execute the bank model.The
Bank2
object defines a particular scenario under which to execute the bank model. 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.- See also
scalation.process.ModelTest for another example of test code. > run-main apps.process.Bank2
-
object
BankOpt
extends App
The
BankOpt
object performs Simulation Optimization 'SO' on a bank model to find the number of tellers that minimizes the overall cost function.The
BankOpt
object performs Simulation Optimization 'SO' on a bank model to find the number of tellers that minimizes the overall cost function. Cost is based on the daily pay for a teller (8 hours * 20 dollars per hour) and a cost based on customer wait time (10 dollars per minute of mean waiting time). > run-main apps.process.BankOpt -
object
BankOpt2
extends App
The
BankOpt2
object performs Simulation Optimization 'SO' on a bank model to find the number of tellers that minimizes the overall cost function.The
BankOpt2
object performs Simulation Optimization 'SO' on a bank model to find the number of tellers that minimizes the overall cost function. Cost is based on the daily pay for a teller (8 hours * 20 dollars per hour) and a cost based on customer wait time (10 dollars per minute of mean waiting time). > run-main apps.process.BankOpt2 -
object
CallCenter
extends App with Modelable
The
CallCenter
object defines a particular scenario under which to execute the call center model.The
CallCenter
object defines a particular scenario under which to execute the call center model.- See also
scalation.process.ModelTest for another example of test code. > run-main apps.process.CallCenter
-
object
ERoom
extends App
The
ERoom
object runs theERModel
. -
object
ERoomOpt
extends App
The
ERoomOpt
object performs Simulation Optimization 'SO' on an Emergency Room 'ER' model to find the numbers of nurses and doctors that minimize the overall cost function.The
ERoomOpt
object performs Simulation Optimization 'SO' on an Emergency Room 'ER' model to find the numbers of nurses and doctors that minimize the overall cost function. Cost is based on the daily pay for a nurse (8 hours * 30 dollars per hour), a doctor (8 hours * 60 dollars per hour) and a cost based on customer wait time (10 dollars per minute of mean waiting time). > run-main apps.process.ERoomOpt -
object
Intersection
extends App
The
Intersection
object is used to run theIntersectionModel
class.The
Intersection
object is used to run theIntersectionModel
class. > run-main apps.process.Intersection -
object
Loop
extends App
The
Loop
object is used to run theLoopModel
class.The
Loop
object is used to run theLoopModel
class. > run-main apps.process.Loop -
object
Machine
extends App with Modelable
The
Machine
object defines a particular scenario under which to execute the machine model.The
Machine
object defines a particular scenario under which to execute the machine model. > run-main apps.process.Machine -
object
Road
extends App
The
Road
object is used to run theRoadModel
class.The
Road
object is used to run theRoadModel
class. > run-main apps.process.Road -
object
Traffic
extends App
The
Traffic
object is used to run theTrafficModel
class.The
Traffic
object is used to run theTrafficModel
class. > run-main apps.process.Traffic