Transport
The Transport
class provides a pathway between two other components. The components in a Model
conceptually form a 'graph' in which the edges are Transport
s and the nodes are other Component
s.
Value parameters
- bend
-
the bend or curvature of the
Transport
(0 => line) - from
-
the starting component
- isSpeed
-
whether speed or trip-time is used for motion
- motion
-
the random variate for the speed/trip-time for motion down the
Transport
- name
-
the name of the transport
- shift1
-
the x-y shift for the transport's first end-point (from-side)
- shift2
-
the x-y shift for the transport's second end-point (to-side)
- to
-
the ending component
Attributes
- See also
-
animation.Dgraph.move2Boundary
that aligns edge with node boundaries. - Graph
-
- Supertypes
- Known subtypes
-
class VTransport
Members list
Value members
Concrete methods
Give the location of the curve to be its starting point.
Tell the animation engine to display this transport.
Tell the animation engine to display this transport.
Attributes
Jump the entity SimActor
down this transport. Place it in the middle of the Transport
s QCurve
for the entire trip time.
Jump the entity SimActor
down this transport. Place it in the middle of the Transport
s QCurve
for the entire trip time.
Attributes
Move the entity SimActor
smoothly down this transport. Repeatedly move it along the Transport
s QCurve
. Caveat: tokens coordinates are computed using a shadow QCurve
(same coordinates as the one that will be created by the animation engine).
Move the entity SimActor
smoothly down this transport. Repeatedly move it along the Transport
s QCurve
. Caveat: tokens coordinates are computed using a shadow QCurve
(same coordinates as the one that will be created by the animation engine).
Value parameters
- fraction
-
the fraction of the remaining transform to move along
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 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
- 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