Auxiliary constructor that uses defaults for width (w) and height (h).
Auxiliary constructor that uses defaults for width (w) and height (h).
the name of the source
the (x, y) coordinates for the top-left corner of the source.
the name of the source
the director controlling the model
the function to make entities of a specified type
the number of entities to make
the inter-arrival time distribution
the location of the source (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
The Sources as a special SimActor will act over time to make entities (other SimActors).
The activation time for the item in the time-ordered priority queue
The activation time for the item in the time-ordered priority queue
Compare the activation times of the two actors.
Compare the activation times of the two actors.
Compare two items (PQItems) based on their actTime.
Compare two items (PQItems) based on their actTime.
the other item to compare with this item
Display this source as a node on the animation canvas.
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
Return the full identity.
Return the full identity.
Set the yetToAct flag to false once a SimActor has acted.
Set the yetToAct flag to false once a SimActor has acted.
Return time persistent statistics for value for this component (e.
Return time persistent statistics for value for this component (e.g. Number in queue).
Schedule a reactivation of this SimActor delay time units in the future.
Schedule a reactivation of this SimActor delay time units in the future.
the time delay before reactivation
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
Return the time on the director's clock
Return the time on the director's clock
Show the SimActor's full name and activation time.
Return whether this actor has yet to act.
Return whether this actor has yet to act.
Yield control to the director so the director can take the next action.
Yield control to the director so the director can take the next action.
the flag indicating whether this actor is done
The Source class is used to periodically inject entities (SimActors) into a running simulation model. May act as an arrival generator. Source is both a simulation Component and special SimActor and therefore runs in own thread.