the entity that departs, in this case a part
the time delay for this event's occurrence
The activation/occurrence time for the event
The activation/occurrence time for the event
Cancel 'this' event.
Cancel 'this' event.
Compare the activation times of the two events (ev and this).
Compare the activation times of the two events (ev and this).
the other event
the time delay for this event's occurrence
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 whether this event is live (i.
Return whether this event is live (i.e., not cancelled).
Return the full identity.
Return the full identity.
Get the name.
Get the name.
Execute this event where the event-logic is specified in the 'occur' method.
Execute this event where the event-logic is specified in the 'occur' method. This method is abstract, so it must be implemented in subclasses and it (i) may schedule other events and (ii) may specify state changes.
the entity that departs, in this case a part
Set the name.
Get the type of the simulation object.
Get the type of the simulation object.
Convert the event to a string.
Convert the event to a string.
Departure_M2
is a subclass ofEvent
for handling departure events. from machine M2. The 'occur' method triggers future events and updates the current state.the entity that departs, in this case a part
the time delay for this event's occurrence