Pathway
The Pathway class defines a single lane with multiple segments, connected by shared junctions. pathway: VSource --- Segment0 --- Junction0 --- Segment1 --- Junction1 --- Segment2 --- Sink
Value parameters
- bend
-
curvature of the lane
- from
-
the starting component (e.g.,
VSource) - isSpeed
-
whether speed or trip-time is used
- junc
-
the array of junctions connecting the segments
- motion
-
the variate or dynamics model
- name
-
the name of the pathway
- to
-
the ending component (e.g.,
Sink)
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Add a vehicle to the correct pathway's doubly linked list.
Add a vehicle to the correct pathway's doubly linked list.
Value parameters
- actor
-
the vehicle to add
- other
-
the other vehicle (the one ahead, null if none)
Attributes
Return the location of the first curve to be the pathway starting point.
Return the location of the first curve to be the pathway starting point.
Attributes
- Definition Classes
Display this pathway.
Get the first vehicle in this pathway.
Get the first vehicle in this pathway.
Attributes
Get the last vehicle in this pathway.
Get the last vehicle in this pathway.
Attributes
Remove a vehicle from the correct pathway's doubly linked list.
Remove a vehicle from the correct pathway's doubly linked list.
Value parameters
- actor
-
the vehicle to remove
Attributes
Get the direction/turn random variate to determine next the direction. This allows an application model to select the next component. FIX - this won't work in general - seg(0) will only allow turns from first segment
Get the direction/turn random variate to determine next the direction. This allows an application model to select the next component. FIX - this won't work in general - seg(0) will only allow turns from first segment
Attributes
Set the direction/turn random variate for this pathway. FIX - this won't work in general
Set the direction/turn random variate for this pathway. FIX - this won't work in general
Value parameters
- selectorRV
-
the random variate used to select the direction
Attributes
Inherited 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
- Inherited from:
- Component
Aggregate the statistics of this component's subparts.
Set the location of this object.
Set the location of this object.
Value parameters
- at
-
the location of this object
Attributes
- Inherited from:
- Locatable
Indicate whether this component is composite, i.e., has subparts.
Indicate whether this component is composite, i.e., has subparts.
Attributes
- Inherited from:
- Component
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
- Inherited from:
- Component
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
- Inherited from:
- Component
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
- Inherited from:
- Component
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
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
- Inherited from:
- Component
Initialize this component's statistical collectors. Sample statistics: all Components. Time-persistent statistics: all except Gate, Source and Sink.
Initialize this component's statistical collectors. Sample statistics: all Components. Time-persistent statistics: all except Gate, Source and Sink.
Value parameters
- label
-
the name of this component
Attributes
- Inherited from:
- Component
Return the full identity.
Set the name.
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
- Inherited from:
- Component
Get the type of the simulation object.
Inherited fields
The globally unique integer identifier