Arrival
is a subclass of EventNode
for handling arrival events.
Arrival
is a subclass of EventNode
for handling arrival events.
the entity that arrives, in this case a bank customer
the time delay for this event's occurrence
Departure
is a subclass of EventNode
for handling departure events.
Departure
is a subclass of EventNode
for handling departure events.
the entity that arrives, in this case a bank customer
the time delay for this event's occurrence
The number of seconds in one hour
The number of seconds in one hour
The number of seconds in one minute
The number of seconds in one minute
The clock that keep track of the current simulation time
The clock that keep track of the current simulation time
Add statistical collector to the model.
Add statistical collector to the model.
one or more statistical collectors
Put a edge command on the animation queue.
Put a edge command on the animation queue.
who is being animated
what animation command
the color the edge
the shape of the edge
the location of the origination node
the location of the destination node
the location of the edge (empty array => implicitly determined)
Put a node/token command on the animation queue.
Put a node/token command on the animation queue.
who is being animated
what animation command
the color the node/token
the shape of the node/token
the location of the node/token
Cancel the specified 'event' so it will not occur.
Return the current value of the director's clock.
Return the current value of the director's clock.
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 statistical results of the simulation (statistics for each part).
Return the statistical results of the simulation (statistics for each part).
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Get the id (unique identifier).
Get the id (unique identifier).
Leave the model recording the entity's time in the sYstem.
Leave the model recording the entity's time in the sYstem.
the entity leaving the model
Return the full identity.
Return the full identity.
Get the name.
Get the name.
Report values of the specified model result/output variables.
Report values of the specified model result/output variables.
the result/output variables for the simulation
Report statistical results of the simulation for all the collectors.
Report statistical results of the simulation for all the collectors.
Place an event on the Future Event List (FEL) for later execution, thus scheduling the event to occur sometime in the future.
Place an event on the Future Event List (FEL) for later execution, thus scheduling the event to occur sometime in the future. Events are ordered by their event/act time.
the event to schedule
Set the name.
Get the type of the simulation object.
Get the type of the simulation object.
Run the simulation by iteratively processing events in time order.
Simulation execution/termination flag
Simulation execution/termination flag
The
BankModel2
class defines a simple Event Graph model of a Bank where service is provided by one teller and models an M/M/1 queue.