登录
首页 » C++ » 学习 .zip

学习 .zip

于 2021-04-22 发布 文件大小:9KB
0 270
下载积分: 1 下载次数: 878

代码说明:

  某贸易中心共10层,设有载客电梯1部。为了处理问题的方便,有以下的限定条件:   (1) 电梯的运行规则是:可到达每层。   (2) 每部电梯的最大乘员量均为K人(K值可以根据仿真情况在10~20人之间确定)。   (3) 仿真开始时,电梯随机地处于其符合运行规则的任意一层,为空梯。   (4) 仿真开始后,有N人(>20人)在该国际贸易中心的1层,开始乘梯活动。   (5) 每个人初次所要到达的楼层是随机的,开始在底层等待电梯到来。   (6) 每个人乘坐电梯到达指定楼层后,再随机地去往另一楼层,依此类推,当每人乘坐过L次(L值可以根据仿真情况在3~10次之间确定)电梯后,第L+1次为下至底层并结束乘梯行为。到所有人结束乘梯行为时,本次仿真结束。   (7) 电梯运行速度为S秒/层(S值可以根据仿真情况在1~5之间确定),每人上下时间为T秒(T值可以根据仿真情况在2~10之间确定)。   (8) 电梯运行的方向由先发出请求者决定,不允许后发出请求者改变电梯的当前运行方向,除非是未被请求的空梯。(a total of 10 layers, with a passenger elevator. To address the issue of convenience, have the following qualifications : (a) lift the operating rules is : can be reached on each floor. (2) each lift crew of the largest volume of all K (K value can be based on the simulation of the 10 to 20 between determined). (3) simulation at the beginning, randomly located in the lift line with its rules of operation arbitrary layer of air staircase. (4) simulation began, a N (gt; 20) at the International Trade Center in one layer, started by ladder activities. (5) Each person must first reach the floors are random, in the bottom wait for the elevator arrived. (6) Each person taken the lift arrived at the designated floor and then another random foot to the floor, and so on, when each rode L (L value c)

文件列表:

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • led
    at89c2051利用74ls164 驱动 共阳极数码管(74ls164 driver to use a total of at89c2051 digital tube anode)
    2009-05-04 23:01:10下载
    积分:1
  • swp_nfc
    TS 102 613、TS102 622,SWP协议文档,去保护版本(TS 102, 613, 622, TS102 SWP agreement document, to protect their version)
    2014-11-18 14:30:50下载
    积分:1
  • 15.5
    带字库的12864仿真软件学习带电路图和仿真软件。(12864 with a font with a circuit simulation software and simulation software to learn.)
    2013-11-01 23:15:48下载
    积分:1
  • MCP4725
    说明:  用单片机与MCP4725通信,产生一个可控制的模拟电压。(The MCP 4725 is communicated with a single chip computer to generate a controllable analog voltage.)
    2019-07-02 12:53:02下载
    积分:1
  • MSP430_shiboqi
    用430单片机编写的简单的示波器程序,型号2553.非常实用。(MCU with 430 prepared with a simple oscilloscope program, model 2553. very practical.)
    2015-08-07 14:48:01下载
    积分:1
  • icdi4
    三线式单工通讯 毕业设计 电路图和程序都是正确得(Single 3-wire communication circuit and procedures, graduation design is correct too)
    2009-09-12 10:33:27下载
    积分:1
  • CAN
    基于STM32F10ZET6的CAN通信代码,可以实现CAN通信,并显示在TFT屏幕上。( U57FA u4E8ESTM32F10ZET6 u7684A u901A u4E1 u4EE1 u7801 uFF0C u53EF u4E5 u5B9E u73B0CAN u901A u4FE1 uFF0C u5E76 u663E u793A u5728TFT u5C5F u5E55 u4E0A u3002)
    2020-07-10 16:28:56下载
    积分:1
  • STM32_trace_l298
    这段代码包括了基于STM32对简单小车的循迹壁障以及L298N的驱动。并对其中关键部分进行了注释。(This code includes a simple car-based STM32 tracking barrier and L298N driver. And one of the key parts of the notes.)
    2014-02-26 12:18:03下载
    积分:1
  • DHT11
    基于DHT11的湿度感应加湿器,基于51单片机,采用C语言编程(Based DHT11 humidity sensor humidifiers, based on 51, using C language programming)
    2021-04-18 13:58:52下载
    积分:1
  • Digital-oscilloscope
    此文件是基于89C51的数字示波器,以单片机为主控制器,来实现对信号的处理。(This file is based on 89 c51 digital oscilloscope, give priority to with single-chip microcomputer controller, to achieve the signal processing.)
    2015-12-16 16:20:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载