文件名称:fangzhendianti

介绍说明--下载内容均来自于网络,请自行研究使用

模拟某校九层教学楼的电梯系统。该楼有一个自动电梯,能在每层停留。九个楼层由下至上依次称为地下层、第一层、第二层、……第八层,其中第一层是大楼的进出层,即是电梯的“本垒层”,电梯“空闲”时,将来到该层候命。

乘客可随机地进出于任何层。对每个人来说,他有一个能容忍的最长等待时间,一旦等候电梯时间过长,他将放弃。

模拟时钟从0开始,时间单位为0.1秒。人和电梯的各种动作均要消耗一定的时间单位(简记为t),比如:有人进出时,电梯每隔40t测试一次,若无人进出,则关门;关门和开门各需要20t;每个人进出电梯均需要25t;如果电梯在某层静止时间超过300t,则驶回1层侯命。

要求:

按时序显示系统状态的变化过程,即发生的全部人和电梯的动作序列。

-Simulation of a nine-school teaching building elevator systems. This building has an automatic elevator in each stay. Followed by the bottom nine floors as the basement, first floor, second floor, ... ... the eighth floor, where the first layer is the layer out of the building, that is the elevator "home base layer," Elevator "free" when came to the floor stand.

Passengers can randomly access any layer. For everyone, he can tolerate a maximum waiting time, waiting for the elevator when the time is too long, he will give up.

Analog clock starts from 0, the time unit is 0.1 seconds. And lift a variety of actions have to consume a certain unit of time (abbreviated as t), for example: it was out of the elevator 40t test every time, without the movement of people, then closed close and open the door of the need to 20t each personal and out of elevators require 25t if the elevator stationary at a level more than 300t, then drove back a layer ready to go.

Requirements:

Timing display s
(系统自动生成,下载前可以参看下载内容)

下载文件列表

fangzhendianti

..............\Debug

..............\.....\liftnew.exe

..............\.....\liftnew.ilk

..............\.....\liftnew.obj

..............\.....\liftnew.pch

..............\.....\liftnew.pdb

..............\.....\vc60.idb

..............\.....\vc60.pdb

..............\lift.cpp

..............\lift.dsp

..............\lift.dsw

..............\lift.ncb

..............\lift.opt

..............\lift.plg

..............\liftnew.cpp

..............\liftnew.dsp

..............\liftnew.dsw

..............\liftnew.ncb

..............\liftnew.opt

..............\liftnew.plg

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org