Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
Elevator operating system job scheduling
no vote
There are five interconnected elevators on the 20th floor of a building. Based on the idea of thread to write an elevator scheduling program. There should be some buttons in each elevator: number key, close key, open key, etc. There should be up and down buttons at the door of each elevator on each floor. The buttons at the door of five elevators are interconnected, that is, when one elevator button is pressed down, the corresponding buttons of other elevators will be on at the same time, indicating that it is pressed down. According to the status of the five elevators, the scheduling algorithm finds the nearest elevator to the current floor and responds to the request in the same direction. The initial state of all elevators is on the first floor. If there is no corresponding request on the upper or lower floor of each elevator, it should stay in place.
ADuser
2016-08-23
0
1
No more~