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

学习 .zip

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

  • GPRS送网络时间
    STM32接收gps网络时间,并通过GPRS发送(STM32 receives GPS network time and sends it through GPRS)
    2018-11-23 19:49:16下载
    积分:1
  • BrainCar
    智能小车的51单片机设计源代码,适合参加电子类竞赛和有兴趣爱好自己制作小的玩具作品。全部程序调试通过,没有任何问题。(Smart car 51 single design source code for contests and participate in electronic hobbies to produce their own little toy works. All program debugging through without any problems.)
    2011-06-23 11:45:57下载
    积分:1
  • DS1302
    说明:  实时时钟芯片DS1302的C51编程,数据的读取及设置。(The C51 real-time clock chip DS1302 programming, data reading and settings.)
    2011-02-28 21:16:39下载
    积分:1
  • 0-1knapsack
    0-1 knapsack problem implementation in c++. One of the fundamental problems in Dynamic Programming.
    2016-04-21 13:17:58下载
    积分:1
  • Proj
    读AD数据后,写CF卡控制,可调整采集速率和存储速率(AD data is read, write CF card control, adjustable acquisition rate and storage rate)
    2012-10-02 15:56:22下载
    积分:1
  • 一个电PID控制
    增量式PID控制直流电机基于STM32的(PIDIncremental PID control DC motor based on STM32)
    2018-07-23 22:06:36下载
    积分:1
  • LCD
    3.2寸宝马LPC1768开发板LED屏的基础代码(3.2-inch BMW LPC1768 development board LED screen based code )
    2014-11-18 15:12:17下载
    积分:1
  • ADC-and-LCD
    利用单片机MSP430f149单片机实现的 实验八 ADC与LCD(The use of single-chip MCU MSP430f149 experiment eight ADC and LCD)
    2014-02-25 15:25:13下载
    积分:1
  • wanwuan9898989
    关于转向泵的控制源程序,自己亲自运行调试了,完全可以放心使用。(Steering pump on the control source, and personally run debugging, you can rest assured that the use of.)
    2017-06-30 22:29:57下载
    积分:1
  • 双通道示波器加FFT
    说明:  ADC采样电压值,显示波形,通过FFT计算频率,双通道ADC,最高500K,100K不失真(ADC Samples Voltage Value and Displays Waveform)
    2019-07-07 19:36:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载