文件名称:SCAN
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2016-12-05
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- h**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
扫描算法(SCAN)是一种按照楼层顺序依次服务请求,它让电梯在最底层和最顶层之间连续往返运行,在运行过程中响应处在于电梯运行方向相同的各楼层上的请求。它进行寻找楼层的优化,效率比较高,但它是一个非实时算法。扫描算法较好地解决了电梯移动的问题,在这个算法中,每个电梯响应乘客请求使乘客获得服务的次序是由其发出请求的乘客的位置与当前电梯位置之间的距离来决定的,所有的与电梯运行方向相同的乘客的请求在一次电向上运行或向下运行的过程中完成,免去了电梯频繁的来回移动-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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SCAN\.classpath
....\.project
....\.settings
....\.........\org.eclipse.jdt.core.prefs
....\bin
....\...\SCAN.class
....\src
....\...\SCAN.java