文件名称:diantimonixitong
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 48kb
- 下载次数:
- 0次
- 提 供 者:
- 孙**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
[问题描述]
设计一个电梯模拟系统。这是一个离散的模拟程序,因为电梯系统是乘客和电梯等
“活动体”构成的集合,虽然他们彼此交互作用,但他们的行为是基本独立的。在离散的模拟中,以模拟时钟决定每个活动体的动作发生的时刻和顺序.系统在某个模拟瞬间处理有待完成的各种事情,然后把模拟时钟推进到某个动作预定要发生的下一个时刻。
[基本要求]
(1) 模拟某校五层教学楼的电梯系统。该楼有一个自动电梯,能在每层停留。五个楼层由下至上依次称为地下层、第一层、第二层、第三层和第四层,其个第一层是大楼的进出层,即是电梯的“本垒层”,电梯“空闲”时,将来到该层候命。
(2) 乘客可随机地进出于任何层。对每个入来说,他有一个能容忍的最长等待时间,一旦等候电梯时间过长,他将放弃。
(3) 模拟时钟从0开始,时间单位为0.1秒。人和电梯的各种动作均要耗费一定的时间单位(简记为t),比如:
有人进出时,电梯每隔40t测试一次,若无人进出,则关门。
关门和开门各需要20t
每个人进出电梯均需要25t
如果电梯在某层静止时间超过300t,则驶回1层候命。
(4) 按时序显示系统状态的变化过程:发生的全部人和电梯的动作序列。-[Problem descr iption : design an elevator simulation system. This is a discrete simulation program, because the lift system for passengers and elevators "body" form of assembly, Although the interaction between them, but their behavior is a basic independent. The discrete simulation, simulation clock to decide on the activities of each of the action takes time and sequence. A simulation system in an instant to be done to deal with the matter, then analog clock advance to a certain action is scheduled to take place the next time. [Basic requirements] (1) simulation of a school teaching floor of the five-story elevator system. Even with an escalator, will stay in the library. Five floors from the bottom to the lower deck were called, the first-, second-, third- and fourth layer, i
设计一个电梯模拟系统。这是一个离散的模拟程序,因为电梯系统是乘客和电梯等
“活动体”构成的集合,虽然他们彼此交互作用,但他们的行为是基本独立的。在离散的模拟中,以模拟时钟决定每个活动体的动作发生的时刻和顺序.系统在某个模拟瞬间处理有待完成的各种事情,然后把模拟时钟推进到某个动作预定要发生的下一个时刻。
[基本要求]
(1) 模拟某校五层教学楼的电梯系统。该楼有一个自动电梯,能在每层停留。五个楼层由下至上依次称为地下层、第一层、第二层、第三层和第四层,其个第一层是大楼的进出层,即是电梯的“本垒层”,电梯“空闲”时,将来到该层候命。
(2) 乘客可随机地进出于任何层。对每个入来说,他有一个能容忍的最长等待时间,一旦等候电梯时间过长,他将放弃。
(3) 模拟时钟从0开始,时间单位为0.1秒。人和电梯的各种动作均要耗费一定的时间单位(简记为t),比如:
有人进出时,电梯每隔40t测试一次,若无人进出,则关门。
关门和开门各需要20t
每个人进出电梯均需要25t
如果电梯在某层静止时间超过300t,则驶回1层候命。
(4) 按时序显示系统状态的变化过程:发生的全部人和电梯的动作序列。-[Problem descr iption : design an elevator simulation system. This is a discrete simulation program, because the lift system for passengers and elevators "body" form of assembly, Although the interaction between them, but their behavior is a basic independent. The discrete simulation, simulation clock to decide on the activities of each of the action takes time and sequence. A simulation system in an instant to be done to deal with the matter, then analog clock advance to a certain action is scheduled to take place the next time. [Basic requirements] (1) simulation of a school teaching floor of the five-story elevator system. Even with an escalator, will stay in the library. Five floors from the bottom to the lower deck were called, the first-, second-, third- and fourth layer, i
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Elevator
........\Debug
........\Elevator
........\........\Building.h
........\........\Client.h
........\........\ClientStack.h
........\........\Debug
........\........\Elevator.cpp
........\........\Elevator.dsp
........\........\Elevator.h
........\........\Elevator.plg
........\........\main.h
........\........\wqueue.h
........\Elevator.dsw
........\Elevator.ncb
........\Elevator.opt
........\电梯模拟.doc
........\Debug
........\Elevator
........\........\Building.h
........\........\Client.h
........\........\ClientStack.h
........\........\Debug
........\........\Elevator.cpp
........\........\Elevator.dsp
........\........\Elevator.h
........\........\Elevator.plg
........\........\main.h
........\........\wqueue.h
........\Elevator.dsw
........\Elevator.ncb
........\Elevator.opt
........\电梯模拟.doc