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 sink
the (x, y) coordinates for the top-left corner of the sink.
the name of the sink
the location of the sink (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 Sink.
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
Leave the model, effectively terminating the entity (SimActor).
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
Sink
class is used to terminate entities (SimActors) when they are finished.