the name of the entity/SimActor
the director controlling the model
The abstract method, act, is defined in each subclass to provide specific behavior.
The abstract method, act, is defined in each subclass to provide specific behavior.
Signal for resuming an actor
Signal for resuming an actor
Signal for resuming the director
Signal for resuming the director
Signal indicating results returned
Signal indicating results returned
The activation time for the item in the time-ordered priority queue
The activation time for the item in the time-ordered priority queue
The time at which the entity/sim-actor arrived
Return where this object is at (its location).
Return where this object is at (its location).
Compare the activation times of the two actors, 'this' and 'actror2'.
Compare the activation times of the two actors, 'this' and 'actror2'. Their activation times are used to order them in the director's agenda (a time-based priority queue).
the other actor to compare with this
Compare two items (PQItems) based on their actTime.
Compare two items (PQItems) based on their actTime.
the other item to compare with this item
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).
Return the full identity.
Return the full identity.
Set the yetToAct flag to false once a SimActor has acted.
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 object.
Set the name.
Set the sim-actor's subtype.
Set the sim-actor's subtype.
the sim-actors subtype
Set the value of the trajectory along the curve for this SimActor.
Set the value of the trajectory along the curve for this SimActor.
the new trajectory for the SimActor
Get the type of the simulation object.
Get the type of the simulation object.
Return the sim-actor's subtype.
Return the time on the director's clock
Show the SimActor's full name and activation time.
Return the current trajectory (along the Qcurve) of this SimActor.
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
SimActor
abstract class represents entities that are active in the model. The 'act' abstract method, which specifies entity behavior, must be defined for each subclass. EachSimActor
extends Scala'sActor
class and may be roughly thought of as running in its own thread.