scalation.simulation
Members list
Packages
Type members
Classlikes
The Completion trait is used for signalling between threads that the simulation has finished. A Semaphore from the Java library is used to cause a thread/coroutine to wait when calling 'acquire' until another thread/coroutine calls 'release'.
The Completion trait is used for signalling between threads that the simulation has finished. A Semaphore from the Java library is used to cause a thread/coroutine to wait when calling 'acquire' until another thread/coroutine calls 'release'.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Modelclass BankModelclass CallCenterModelclass Traffic2LModelclass Traffic4LModelclass UGABusRoutesModelclass Modelclass BankModelclass CallCenterModelclass EmerDeptModelclass LoopModelclass MachineModelclass OneWayStreetModelclass OneWayVehicleModelclass RoadModelclass TrafficDynModelclass TrafficLaneChangeModelclass TrafficModelclass TrafficModelTurnclass UGA_BusModelclass BankModelclass Model_MBMclass BankModelShow all
The Coroutine class supports (one-at-a-time) quasi-concurrent programming. A coroutine runs/acts until it yields control from 'this' to 'that' coroutine. When resumed, a coroutines continues its execution where it left off.
The Coroutine class supports (one-at-a-time) quasi-concurrent programming. A coroutine runs/acts until it yields control from 'this' to 'that' coroutine. When resumed, a coroutines continues its execution where it left off.
Value parameters
- label
-
the label for the class of coroutines to be created.
Attributes
- Companion
- object
- Supertypes
-
trait Runnableclass Objecttrait Matchableclass Any
- Known subtypes
-
class SimAgentclass Customerclass Reporterclass Callclass Carclass Carclass Busclass Gateclass Sourceclass Modelclass BankModelclass CallCenterModelclass EmerDeptModelclass LoopModelclass MachineModelclass OneWayStreetModelclass OneWayVehicleModelclass RoadModelclass TrafficDynModelclass TrafficLaneChangeModelclass TrafficModelclass TrafficModelTurnclass UGA_BusModelclass BankModelclass Model_MBMclass BankModelclass SimActorclass Customerclass Callclass Patientclass Car1class Car2class Partclass Carclass Car1class Car2class Carclass Carclass Carclass Riderclass Customerclass Customerclass Busclass UGA_Busclass Gateclass Sourceclass VSourceclass Vehicleclass Carclass Carclass Cor1class Cor2Show all
The Coroutine companion object provides functions to start-up and shutdown the coroutine system as well as counters for the Coroutine class.
The CoroutineTest object is used to test the Coroutine class. Should print: start coroutines Cor1: phase 1 inside Cor1 the id is 22 isVirtual true VirtualThread[#22]/runnable@ForkJoinPool-1-worker-1 Cor2: phase 1 inside Cor2 the id is 26 isVirtual true VirtualThread[#26]/runnable@ForkJoinPool-1-worker-3 Cor1: phase 2 Cor2: phase 2
The CoroutineTest object is used to test the Coroutine class. Should print: start coroutines Cor1: phase 1 inside Cor1 the id is 22 isVirtual true VirtualThread[#22]/runnable@ForkJoinPool-1-worker-1 Cor2: phase 1 inside Cor2 the id is 26 isVirtual true VirtualThread[#26]/runnable@ForkJoinPool-1-worker-3 Cor1: phase 2 Cor2: phase 2
runMain scalation.simulation.runCoroutineTest
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CoroutineTest.type
The Identifiable trait provides unique identification for simulation components, entities and events. Includes a mandatory id and an optional name.
The Identifiable trait provides unique identification for simulation components, entities and events. Includes a mandatory id and an optional name.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ArcDclass ArcIclass PlaceDclass PlaceIclass Transitionclass Routeclass CausalLinkclass Entityclass Eventclass Arrivalclass Departureclass Arrivalclass Departureclass Arrivalclass Departureclass Arrivalclass Departureclass Arrivalclass Departureclass Arrivalclass Departureclass Arrivalclass FinishMachine1class FinishMachine2class Arrivalclass Arrivalclass EventNodeclass Arrivalclass Modelclass BankModelclass BankModel2class BankModel3class CallCenterModelclass CallCenterModel2class FastFoodModelclass MachineModelclass PoissonModelclass PoissonModel2class SOMEModeltrait Componentclass Gateclass Junctionclass Modelclass BankModelclass CallCenterModelclass EmerDeptModelclass LoopModelclass MachineModelclass OneWayStreetModelclass OneWayVehicleModelclass RoadModelclass TrafficDynModelclass TrafficLaneChangeModelclass TrafficModelclass TrafficModelTurnclass UGA_BusModelclass BankModelclass Model_MBMclass BankModelclass Pathclass Resourceclass Sinkclass Sourceclass VSourceclass Transportclass VTransportclass WaitQueueclass WaitQueue_LCFStrait Temporalclass SimActorclass Customerclass Callclass Patientclass Car1class Car2class Partclass Carclass Car1class Car2class Carclass Carclass Carclass Riderclass Customerclass Customerclass Busclass UGA_Busclass Vehicleclass Carclass CarShow all
The Identifiable object is used to generate unique identifiers.
The Identifiable object is used to generate unique identifiers.
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Identifiable.type
The Locatable trait provides location information/coordinates for objects in simulation models (e.g., Components).
The Locatable trait provides location information/coordinates for objects in simulation models (e.g., Components).
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Componentclass Gateclass Junctionclass Modelclass BankModelclass CallCenterModelclass EmerDeptModelclass LoopModelclass MachineModelclass OneWayStreetModelclass OneWayVehicleModelclass RoadModelclass TrafficDynModelclass TrafficLaneChangeModelclass TrafficModelclass TrafficModelTurnclass UGA_BusModelclass BankModelclass Model_MBMclass BankModelclass Pathclass Resourceclass Sinkclass Sourceclass VSourceclass Transportclass VTransportclass WaitQueueclass WaitQueue_LCFSclass SimActorclass Customerclass Callclass Patientclass Car1class Car2class Partclass Carclass Car1class Car2class Carclass Carclass Carclass Riderclass Customerclass Customerclass Busclass UGA_Busclass Vehicleclass Carclass CarShow all
The Locatable trait provides location information/coordinates for objects in simulation models (e.g., SimActors).
The Locatable trait provides location information/coordinates for objects in simulation models (e.g., SimActors).
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
The Modelable trait defines what is common to simulation models supported in ScalaTion.
The Modelable trait defines what is common to simulation models supported in ScalaTion.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Modelclass BankModelclass BankModel2class BankModel3class CallCenterModelclass CallCenterModel2class FastFoodModelclass MachineModelclass PoissonModelclass PoissonModel2class SOMEModelclass Modelclass BankModelclass CallCenterModelclass EmerDeptModelclass LoopModelclass MachineModelclass OneWayStreetModelclass OneWayVehicleModelclass RoadModelclass TrafficDynModelclass TrafficLaneChangeModelclass TrafficModelclass TrafficModelTurnclass UGA_BusModelclass BankModelclass Model_MBMclass BankModelclass Modelclass CallCenterModelShow all
The Monitor class is used to trace the actions/events in the models.
The Monitor class is used to trace the actions/events in the models.
Value parameters
- project
-
the project to be monitored
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The NH_PoissonProcess class generates data following a Non-Homogeneous Poisson Process.
The NH_PoissonProcess class generates data following a Non-Homogeneous Poisson Process.
Value parameters
- lambdaf
-
the arrival rate function, lambda(t)
- stream
-
the random number stream to use
- t
-
the terminal time
Attributes
- Supertypes
The PoissonProcess class generates data following a Poisson Process.
The PoissonProcess class generates data following a Poisson Process.
Value parameters
- lambda
-
the arrival rate
- stream
-
the random number stream to use
- t
-
the terminal time
Attributes
- Supertypes
- Known subtypes
-
class NH_PoissonProcess
The Temporal trait adds time (actTime) and temporal ordering to Identifiable.
The Temporal trait adds time (actTime) and temporal ordering to Identifiable.
Attributes
- Supertypes
- Known subtypes
-
class Transitionclass SimActorclass Customerclass Callclass Patientclass Car1class Car2class Partclass Carclass Car1class Car2class Carclass Carclass Carclass Riderclass Customerclass Customerclass Busclass UGA_Busclass Gateclass Sourceclass VSourceclass Vehicleclass Carclass CarShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
The monitorTest main function is used to test the Monitor class.
The monitorTest main function is used to test the Monitor class.
runMain scalation.simulation.monitorTest
Attributes
The nH_PoissonProcessTest main function is used to test the NH_PoissonProcess class. Example of car arrivals and determination of traffic flow (car per 5-minutes passing by a sensor).
The nH_PoissonProcessTest main function is used to test the NH_PoissonProcess class. Example of car arrivals and determination of traffic flow (car per 5-minutes passing by a sensor).
runMain scalation.simulation.nH_PoissonProcessTest
Attributes
The nH_PoissonProcessTest2 main function is used to test the NH_PoissonProcess class. Example showing how to use the PolyRegression class to create a lambda function based on traffic data.
The nH_PoissonProcessTest2 main function is used to test the NH_PoissonProcess class. Example showing how to use the PolyRegression class to create a lambda function based on traffic data.
runMain scalation.simulation.nH_PoissonProcessTest2
Attributes
The poissonProcessTest main function is used to test the PoissonProcess class. Example of car arrivals and determination of traffic flow (car per 5-minutes passing by a sensor).
The poissonProcessTest main function is used to test the PoissonProcess class. Example of car arrivals and determination of traffic flow (car per 5-minutes passing by a sensor).
runMain scalation.simulation.poissonProcessTest