- Category:
- Console
- Tags:
-
[Java]
[源码]
- File Size:
- 4kb
- Update:
- 2016-12-05
- Downloads:
- 0 Times
- Uploaded by:
- hyl
Description: Scanning algorithm (SCAN) is a sequence of service requests in accordance with the floor, it makes the elevator continuous running between the bottom and the top and, in the process of operation in response to the direction of the lift on each floor on the same request. It is the search for the optimization of the floor, the efficiency is relatively high, but it is a non real-time algorithm. Scanning algorithm can solve the problem of elevator moving, in this algorithm, each passenger elevator response request so that passengers get the order of service request issued by the passengers between the position and the current position of the elevator to the distance, all of the passengers and the elevator running direction of the same request to complete the process or operation in a run down in electricity, eliminates the lift frequent moves back and forth
To Search:
File list (Check if you may need any files):
SCAN\.classpath
....\.project
....\.settings
....\.........\org.eclipse.jdt.core.prefs
....\bin
....\...\SCAN.class
....\src
....\...\SCAN.java