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

学习 .zip

于 2021-04-22 发布 文件大小:9KB
0 235
下载积分: 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 个回复

  • MUL-SOURCE
    说明:  多路稳压电源的设计资料 包括电路图 论文 (The describe of muitiply source)
    2011-04-12 07:26:44下载
    积分:1
  • 跑马灯实验
    如何利用STM32F103点亮流水灯,并且每一行代码都会有注释,新手容易上手。(How to use STM32F103 to light the pipelining lamp, and every line of code will have comments, novice easy to get started.)
    2020-06-18 12:00:02下载
    积分:1
  • atmega16
    说明:  atmega16单片机做的循迹小车全套资料(atmega16 microcontroller to do a full set of data tracking car)
    2011-04-12 20:53:36下载
    积分:1
  • GPIO
    code for stm32l152 gpio blink led
    2019-06-24 23:00:07下载
    积分:1
  • STM8Test
    STM8S105 实现多路的ADC采集,并且把其中的两路通过串口UART发送到电脑上。其中有通信方法RS232 说明和LabVIEW2010的上位机示波器。oscillograph(STM8S105 LabVIEW2010 UART RS232 oscillograph ADC Send.)
    2012-02-05 02:39:57下载
    积分:1
  • 并口_程序
    说明:  STM32F103,ST7789V驱动,2.8寸TFT例程(STM32F103,St7789v drive, 2.8-inch TFT routine)
    2021-04-21 23:08:49下载
    积分:1
  • AD9854_Serial
    AD9854串行通信驱动,基于STM32F407(AD9854 serial communication, based on STM32F407)
    2020-06-20 18:40:02下载
    积分:1
  • key
    51单片机新型按键扫描,不用10ms延时消抖,实时性大大提高。每个按键有长按短按功能,采用结构体对象化编程,增加按键极度方便。(The new key scan does not use 10ms delay to eliminate jitter, and the real-time performance is greatly improved. Each button has a long press, a short press function, the use of structured object programming, increasing the key, extremely convenient.)
    2017-08-05 22:17:45下载
    积分:1
  • 51-For-ds1820-Test
    C51下温度传感实验 检测温度,并用数码管显示出来 。(C51 experimental testing temperature of the temperature sensor and a digital control display.)
    2011-05-10 11:21:22下载
    积分:1
  • QDQ
    双人抢答器的程序,可以加分减分等,还可以用指示灯表示开始抢答和抢答结束(Double Answer)
    2008-05-05 18:59:11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载