Description: Elevator scheduling algorithm to simulate
Note: the basic principles of the elevator scheduling algorithm is to use the elevator in the elevator running direction to continue in that direction movement, the elevator does not reach the destination continue to apply to the direction of movement. Specifically, if the elevator is now upward movement, if the current floors above and below have a request, the response to all the top of the first request, and then down to respond to the request of the bottom if the elevator down movement is exactly the opposite.
To Search:
File list (Check if you may need any files):
elevator2.0\.classpath
...........\.fatjar
...........\.project
...........\.settings\org.eclipse.jdt.core.prefs
...........\bin\Elevator\ElevatorMain$1.class
...........\...\........\ElevatorMain$2.class
...........\...\........\ElevatorMain$ButtonAction.class
...........\...\........\ElevatorMain.class
...........\...\........\ElevatorThread$NumButtonAction.class
...........\...\........\ElevatorThread.class
...........\src\Elevator\ElevatorMain.java
...........\...\........\ElevatorThread.java
...........\test.txt
...........\bin\Elevator
...........\src\Elevator
...........\.settings
...........\bin
...........\src
elevator2.0