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

学习 .zip

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

  • STM32F10X_Project
    STM32F103控制iLi9341的2.4寸屏驱动例程,源码,带库函数,GPIO操作,可显示,已通过。(STM32F103 control iLi9341 2.4-inch screen driver routines, source code, library functions, GPIO operation can be displayed, has been adopted.)
    2016-11-20 14:18:11下载
    积分:1
  • IEC104
    C语言实现IEC104客户端,可以实现总召,遥信变位上送,YC上送。(The IEC104 client C language, you can achieve total Zhao, remote deformation on the YC sent.)
    2012-02-16 10:52:57下载
    积分:1
  • 网上找的两个spiDMA的例程
    STM32 spi dma算法,STM32 f103网上找的两个例程(STM32 spi dma Algorithms, two routines for searching STM32 F103)
    2020-06-22 22:00:01下载
    积分:1
  • STM32-control-CC1101
    STM32控制CC1101发送接收的源代码,可通过串口调试工具查看接收到的数据。(STM32 control CC1101 transmit and receive the source code, can be received through the serial port debugging tool to view the data.)
    2020-11-09 11:19:47下载
    积分:1
  • PC通过串口控制zigbee温度采集启动与停止
    说明:  PC通过串口控制Zigbee温度传感器的采集启动与停止。。。(PC controls the start and stop of Zigbee temperature sensor acquisition through serial port.)
    2019-03-07 10:49:05下载
    积分:1
  • LEDtest
    利用单片机作为芯片,利用点阵按钮通过继电器控制LED灯(Using single chip microcomputer as a chip, using bitmap button by relay control LED lights)
    2013-08-22 10:32:00下载
    积分:1
  • SPI
    // This program accesses a SPI EEPROM using polled mode access. The F06x MCU // is configured in 4-wire Single Master Mode, and the EEPROM is the only // slave device connected to the SPI bus. The read/write operations are // tailored to access a Microchip 4 kB EEPROM 25LC320. The relevant hardware // connections of the F06x MCU are shown here:
    2008-03-01 10:53:18下载
    积分:1
  • Profibus
    基于STM32单片机的profibus-dp的软件通信协议的实现(Design of profibus-DP software protocol based on STM32 MCU)
    2021-05-14 00:30:02下载
    积分:1
  • project_877A
    说明:  PIC16F877外设驱动timer定时,PWM输出,外部中断,带注释(PIC16F877 peripheral driver timer, PWM output, external interrupt, annotated)
    2020-07-02 14:35:33下载
    积分:1
  • ic1
    IC卡读写程序(c51)不错(IC card reader (c51) Yes)
    2005-01-26 15:43:57下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载