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
the entity involved in this event
the entity involved in this event
Determine whether Identifiable object 'this' equals Identifiable object 'that'.
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
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
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Get the id (unique identifier).
Get the id (unique identifier).
Return whether this event is live (i.e., not cancelled).
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
the prototype (serves as node in animation) for this event
the prototype (serves as node in animation) for this event
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_M1
is a subclass ofEvent
for handling departure events from machine M1. 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