Component
The Component
trait provides basic common feature for simulation components. The list of subparts is empty for atomic components and nonempty for composite components. Identifiable has "name" the name of this component Locatable has "at" the location of this component
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
class Gateclass Junctionclass Modelclass BankModelclass CallCenterModelclass EmerDeptModelclass LoopModelclass MachineModelclass OneWayStreetModelclass OneWayVehicleModelclass RoadModelclass TrafficDynModelclass TrafficLaneChangeModelclass TrafficModelclass TrafficModelTurnclass UGA_BusModelclass BankModelclass Model_MBMclass BankModelclass Pathclass Resourceclass Routeclass Sinkclass Sourceclass VSourceclass Transportclass VTransportclass WaitQueueclass WaitQueue_LCFSShow all
Members list
Value members
Abstract methods
Abstract display method.
Abstract display method.
Attributes
Concrete methods
Accumulate the value (e.g., number in queue) weighted by its time duration.
Accumulate the value (e.g., number in queue) weighted by its time duration.
Value parameters
- value
-
the value to accumulate
Attributes
Aggregate the statistics of this component's subparts.
Aggregate the statistics of this component's subparts.
Attributes
Indicate whether this component is composite, i.e., has subparts.
Indicate whether this component is composite, i.e., has subparts.
Attributes
Get the director who controls the play/simulation this component is in.
Get the director who controls the play/simulation this component is in.
Attributes
Set this component's director (the controller of the simulation model).
Set this component's director (the controller of the simulation model).
Value parameters
- director
-
the director of the play/simulation
Attributes
Return sample statistics for durations for this component (e.g., Time in queue).
Return sample statistics for durations for this component (e.g., Time in queue).
Attributes
Initialize this component (all of its 'var's).
Initialize this component (all of its 'var's).
Value parameters
- label
-
the name of this component
- loc
-
the location of this component
Attributes
Initialize this component's statistical collectors. Sample statistics: all Component
s. Time-persistent statistics: all except Gate
, Source
and Sink
.
Initialize this component's statistical collectors. Sample statistics: all Component
s. Time-persistent statistics: all except Gate
, Source
and Sink
.
Value parameters
- label
-
the name of this component
Attributes
Return time persistent statistics for value for this component (e.g. Number in queue).
Return time persistent statistics for value for this component (e.g. Number in queue).
Attributes
Tally the duration (e.g., waiting time) of an activity or delay.
Tally the duration (e.g., waiting time) of an activity or delay.
Value parameters
- duration
-
the time duration
Attributes
Inherited methods
Get the location where this object is currently at.
Set the location of this object.
Set the location of this object.
Value parameters
- at
-
the location of this object
Attributes
- Inherited from:
- Locatable
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return the full identity.
Get the name.
Set the name.
Get the type of the simulation object.
Inherited fields
The globally unique integer identifier