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

学习 .zip

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

  • stm32-ican
    stm32 ican例程。 基于ST 公司stm32系列芯片的can程序,建立在周立功ican协议上,包括CAN主机程序和从机程序。(stm32 ican sample)
    2013-05-08 11:36:17下载
    积分:1
  • PS2振动实验(KEIL5)
    PS2手柄通讯协议破解,STM32 F103实现,可调节震动频率与获取摇杆值与按键值。(PS2 handle communication protocol crack, STM32 F103 implementation, can adjust the vibration frequency and obtain joystick value and key value.)
    2017-11-25 14:37:12下载
    积分:1
  • sd_music
    读SD卡用SST单片机与tlc5620播放音乐程序(Read SD card with SST SCM and play music tlc5620 procedures)
    2009-03-17 11:52:05下载
    积分:1
  • Smpl_HID
    32bit M0 驱动例子代码 USB HID(sample code for M0 aba base chip)
    2013-05-24 02:13:03下载
    积分:1
  • stm32f407 ucGUI port
    stm32f407 ucGUI port
    2019-05-28 08:28:55下载
    积分:1
  • dianzisuo
    电子密码锁设计,实现四位密码开锁,可改密码(Electronic password lock design to achieve four bit password lock, password can be changed)
    2017-04-18 11:56:18下载
    积分:1
  • AT45SPI
    AT45DB161 在STM32平台下的驱动程序。可以读写(AT45DB161 READ AND WRITE PAGE FLASH)
    2011-12-23 17:20:30下载
    积分:1
  • 海思平台下SIL9136实现4KHDMI显示
    海思平台下SIL9136实现4KHDMI显示(hisilicon platform sil9136 HDMI driver ,it can show 4K display)
    2020-07-18 11:38:48下载
    积分:1
  • hongwai
    说明:  红外线程序(使用C语言编写)(使用定时器作为解码)(红外线程序(使用C语言编写))
    2010-05-02 12:36:07下载
    积分:1
  • duandianshizhong
    一个断电延时时钟,芯片为1302 液晶1602(A power-off delay clock, chip LCD 1602 1302)
    2011-11-21 17:37:49下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载