Auxiliary constructor that uses defaults for width (w) and heigth (h).
Auxiliary constructor that uses defaults for width (w) and heigth (h).
the name of the junction
the director controlling the model
the jump-time through the junction
the (x, y) coordinates for the top-left corner of the junction
the name of the junction
the director controlling the model
the jump-time through the junction
the location of the junction (x, y, w, h)
Diameter of a token (for animating entities)
Diameter of a token (for animating entities)
Radius of a token (for animating entities)
Radius of a token (for animating entities)
Accumulate the value (e.
Accumulate the value (e.g., number in queue) weighted by its time duration.
the value to accumulate
Aggregate the statistics of this component's subparts.
Aggregate the statistics of this component's subparts.
Return where this object is at (its location).
Return where this object is at (its location).
Indicate whether this component is composite, i.
Indicate whether this component is composite, i.e., has subparts.
Return the director who controls the play/simulation this component is in.
Return the director who controls the play/simulation this component is in.
Tell the animation engine to display this Junction.
Return sample statistics for durations for this component (e.
Return sample statistics for durations for this component (e.g., Time in queue).
Show the flaw by printing the error message.
Show the flaw by printing the error message.
the method where the error occurred
the error message
Get the id (unique identifier).
Get the id (unique identifier).
Initialize this component (all of its vars).
Initialize this component (all of its vars).
the name of this component
the location of this component
Initialize this component's statistical collectors.
Initialize this component's statistical collectors.
Sample statistics: all Component
s.
Time-persistent statistics: all except Gate
, Source
and Sink
.
the name of this component
Jump the entity (SimActor) from the incoming "from" transport to the the middle of the junction.
Return the full identity.
Return the full identity.
Get the name.
Get the name.
Return time persistent statistics for value for this component (e.
Return time persistent statistics for value for this component (e.g. Number in queue).
Set the location of this object.
Set this component's director (the controller of the simulation model).
Set this component's director (the controller of the simulation model).
the director of the play/simulation
Set the name.
Get the type of the simulation object.
Get the type of the simulation object.
List of subparts of the Component (empty for atomics, nonempty for composites)
List of subparts of the Component (empty for atomics, nonempty for composites)
Tally the duration (e.
Tally the duration (e.g., waiting time) of an activity or delay.
the time duration
The
Junction
class provides a connector between twoTransport
s/Route
s. SinceLines
andQCurves
have limitations (e.g., hard to make a loop back), a junction may be needed.