文件名称:Elevator-simulation-C
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-05-04
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- On***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
模拟某校九层教学楼的电梯系统。该楼有一个自动电梯,能在每层停留。其中第一层是大楼进出层,电梯空闲时,将来本层候命;乘客可岁间进出任何层,对每个人来说,他有一个能容忍的最长等待时间,一旦等候电梯时间过长,他将放弃。电梯的主要调度策略是首先响应沿当前行进方向最近端的请求,若改方向上无请求时,就改变移动方向。-Simulation of a nine-school teaching building elevator system. The building has an automatic elevator, can stay in each layer. Wherein the first layer is a layer out of the building, when the elevator is idle, the future of the layer-call passengers can access any layer between years, for everyone, he can tolerate a maximum wait time, waiting for the elevator once the time is too long he will give up. The main elevator scheduling policy is to first respond to the current direction of travel along the most proximal request, if no request to change the direction, to change the direction of movement.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Elevator simulation C\elevator.h
.....................\in.txt
.....................\out.txt
.....................\que.h
.....................\电梯模拟.cpp
.....................\电梯模拟.opensdf
.....................\电梯模拟.vcxproj
Elevator simulation C