Package m865.simulation

Class Summary
BalkEvent The balk event might not occur.
BalkingQueue Write a description of class BalkingQueue here.
ButtonSystem Maintains the status of the buttons on each floor.
Clock The Clock maintains a priority queue of Events.
DecisionTable  
DepartmentStore The DepartmentStore has a main method which sets up and starts the simulation.
DepartmentStoreEvent In addition to a firing time a DepartmentStoreEvent will need access to key objects in the department store.
Elevator The Elevator class.
ElevatorArrivalEvent The ElevatorArrivalEvent checks ButtonSystem Status and Passenger goals.
Event Abstract class for an event.
LoadEvent The LoadEvent is responsible for moving passengers from a waiting queue onto an elevator, provided the elevator is stopping at the floor the passenger is on and is travelling in the direction the passenger wants to go.
MoveOnEvent MoveOnEvent decides if the elevator should move up a floor, down a floor, or stay on the current floor.
OffLoadEvent OffLoadEvent will remove passengers from the elevator and have them begin their task on a given floor
Passenger A class representing passengers in the elevator simulation for Dr.
Passenger.FloorTimePair A simple class representing a floor and time pair, telling us what floor we need to be at and how much time we'll spend there.
PassengerArrivalEvent When a passenger arrives, they are immediately sent to the PushButtonEvent.
PassengerFactory The PassengerFactory class will create a user specified number of passengers for the elevator system.
PressButtonEvent Event related to ButtonSystem
StartTaskEvent The StartTastEvent: This event is created and added to the queue, fired at the appropriate time.
Statistician This is a Statistician class which performs all the necessary calculations based on the inputs taken from the passengers and and presents to the departmentStore a report on the day's events.
 

Enum Summary
Elevator.State The three states of an elevator relative to its motion.
MoveOnEvent.State The three states which represent how the elevator can move
Passenger.State The possible states the passenger may be in.