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
the current time of the observation
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.
the name of this component
Leave the model, effectively terminating the entity (SimActor).
Return the full identity.
Return the full identity.
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 component.
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.
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.