标签:
项目选题:
电梯调度算法的实现和测试
项目背景:
Imagine we’re building a tall office building, it has the following configuration about elevators:
Building has 21 floors, 4 elevators, many passengers use these elevators everyday (passenger weight: average 70kg. max 120kg, min 45kg).
Other constant data: Elevator speed, door open/close time, passenger time for going in/out of the elevator. We can make reasonable assumptions about these.
The building has 21 floors, from floor 0, 1, ... to 20. Floor 0 is the underground parking level, floor 1 is the lobby level. Most people come in/out the building via these 2 floors.
Elevator name |
Service floor list |
Passenger limit |
Weight limit |
1 |
1, 10-20 |
12 |
1000 kg |
2 |
0-10 |
10 |
1000 kg |
3 |
1, 10-20 |
20 |
1500 kg |
4 |
0-20 |
20 |
2000 kg |
项目目标:
1、程序模块化设计
2、记录每个人的总路程时间
3、完成测试
时间及任务划分:
第一周:设计大致模块。
第二周:每人进行相关知识的学习,并讨论细化程序。
第三至五周:分工完成程序。
第六至七周:测试并优化程序,根据情况增加相应功能模块。
第八周:进行最后微调并检查。
标签:
原文地址:http://www.cnblogs.com/djzu/p/5401848.html