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

学习 .zip

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

  • STC_SCH
    STC系列单片机原理图库 涵盖89C,12C,89LE系列,封装形式为PQFP(STC series single-chip schematic library covering 89C, 12C, 89LE series, package PQFP)
    2013-04-23 10:16:43下载
    积分:1
  • 2-74HC595
    51单片机程序,两个74HC595驱动8位数码管程序,串行输入,3个IO口控制8位数码管动态扫描(failed to translate)
    2020-12-31 12:18:59下载
    积分:1
  • AVRbootloader
    有关AVR单片机的bootloader,外国人写的,很实用,内容详细(the AVR MCU Bootloader, foreigners write, and very practical, detailed)
    2021-01-09 16:48:51下载
    积分:1
  • test
    c++程序实现的JPEG图片到RGB565 16位的LCD显示的数据转换程序.(c++ program to achieve the JPEG image to RGB565 16-bit LCD display of the data conversion process. )
    2012-04-24 16:27:36下载
    积分:1
  • dds
    实现单片机对DDS控制,通过键盘输入频率,并通过LCD显示。(failed to translate)
    2013-05-05 15:44:45下载
    积分:1
  • demo_files
    CAN数据通信测试软件,用于实现CAN总线通信数据的收发和分析(CAN data communication test software for CAN bus transceiver and communication data analysis)
    2014-02-16 17:05:30下载
    积分:1
  • CC2530 BasicRF
    说明:  CC2530 BasicRF ,BasicRF协议栈的无线控灯(Wireless light control in basic RF protocol stack)
    2020-09-27 13:56:33下载
    积分:1
  • DS18B20
    STC89C52RC单片机 读取18B20数据并显示在数码管上(18B20 STC89C52RC microcontroller reads the data and displays on the digital)
    2013-07-21 20:56:15下载
    积分:1
  • em78p153_apply_for_remote
    EMC 单片机 EM78P153 典型应用,汇编语言编写,网上看到的,与大家共享(EMC SCM EM78P153 typical application, the compilation of language, and online to see and share)
    2006-12-30 20:06:38下载
    积分:1
  • DS18B20(MSP430)
    利用但总线DS18B20测温程序,并在LCD显示,取三位有效小数位。整数部分两位。共5位显示。 可在利尔达MSP430F449开发板上直接实现功能。(However, temperature measurement procedure using the bus DS18B20 and LCD display, taking three decimal places effectively. Integral part of the two. A total of five shows. LSD MCU MSP430F449 on the development board can directly implement functionality.)
    2010-07-22 11:53:56下载
    积分:1
  • 696522资源总数
  • 104040会员总数
  • 35今日下载