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.
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
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 name.
Get the type of the simulation object.
Get the type of the simulation object.
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.
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. Each SimActor extends Scala's Actor class and therefore executes in its own thread.