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

学习 .zip

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

  • avr_testpro
    说明:  avr单片机学习程序,可供新手学习基础编程(avr single-chip learning process for novice programmers to learn the basis of)
    2009-07-27 18:28:39下载
    积分:1
  • LTC2400gr
    使用LTC2400制作的6位半表头,有详细的制作过程,程序和说明。(Using the LTC2400 produced six half header, details of the production process, procedures and instructions.)
    2021-02-08 15:09:54下载
    积分:1
  • booth
    采用C语言实现的对两个二进制数字实现booth法补码一位乘,按照《计算机组成原理》中的讲解来实现。(Using C language to achieve the of two binary numbers to achieve booth method complement a passenger, in accordance with the computer composition principle to explain to achieve.)
    2015-12-06 17:27:53下载
    积分:1
  • HT66FU50
    合泰单片机,大学生单片机竞赛组委会提供的,必须使用该单片机开发的作品才能评选(holtek mcu )
    2015-04-15 16:59:48下载
    积分:1
  • 130110
    控制蜂鸣器pic18单片机程序,测试通过,已批量生产。(Pic18 microcontroller program to control the buzzer)
    2014-01-24 10:44:16下载
    积分:1
  • buckboost正激反激
    说明:  buck、boost、cuk、正激、反激等电路的matlab仿真和文字介绍,均运行正常(Matlab simulation and text introduction of buck, boost, Cuk, forward and flyback circuits are all running normally)
    2020-11-23 17:39:34下载
    积分:1
  • 抢答器
    抢答器 实现抢答可以自己编程实现很多人同时抢答 有用 可以试试(Quick answer implement Quick answer can be programmed to achieve a lot of people at the same time Quick answer useful can try)
    2019-02-19 16:07:29下载
    积分:1
  • ex03-3phRectifier
    PWM整流器pscad仿真,是不是坑自己判断。(PWM rectifier based on pscad.)
    2021-05-12 22:30:02下载
    积分:1
  • Usesuppositionalinstrumet
    用虚拟仪器演示PID控制规律 输入为阶跃信号 简单实用(Using Virtual Instrument Demo PID control law for the step input signal is simple and practical)
    2008-12-29 18:09:48下载
    积分:1
  • 11
    说明:  MAX7221控制数码管动态显示的单片机C语言源程序,对初学者很有帮助(The MAX7221 Control single-chip digital control dynamic display C language source code, useful for beginners)
    2012-03-03 00:15:27下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载