西宝高速公路运行模拟(c++)

上传者: andyzhuangyy | 上传时间: 2022-06-11 20:10:11 | 文件大小: 167KB | 文件类型: RAR
西安电子科技大学软件工程硕士面向对象技术大作业,西安到宝鸡高速公路运作的仿真。 c++代码编写,控制台界面,内含设计文档及详细注释。 问题描述: 从西安到宝鸡的高速公路上有两种车:沃尔沃和依维柯,车中有两种最主要的属性:速度和容量。汽车每天在一定的时间区间内会在两地间互相行驶。在西安和宝鸡两地每时每刻都会产生乘客,在西安和宝鸡之间有XY, XP, WG, CP, GZ五个中间站,乘客会选择在五个站中的任意一站和终点站下车,中途只许下车不许上车。从西安到宝鸡的车到了宝鸡自动排在从宝鸡到西安的车的车队末尾 (1)始发站控制产生相应的客车(根据预先给定的汽车的属性); (2)始发站控制产生相应的乘客; (3)乘客来到车站以后选择合适的车,上车; (4)汽车到了发车时间,发车; (5)汽车在公路上行驶(包括在中间站停车); (6)汽车到终点站,并准备再次发车,执行(4); (7)乘客到站下车。

文件下载

资源详情

[{"title":"( 34 个子文件 167KB ) 西宝高速公路运行模拟(c++)","children":[{"title":"Usecase1.mdl <span style='color:#111;'> 363.55KB </span>","children":null,"spread":false},{"title":"XBhighway.Version.1.2.0","children":[{"title":"FileData","children":[{"title":"possXB.txt <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"fCarinI.txt <span style='color:#111;'> 12B </span>","children":null,"spread":false},{"title":"StartStopXA.txt <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"fCarinV.txt <span style='color:#111;'> 10B </span>","children":null,"spread":false},{"title":"possBX.txt <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"fStopin.txt <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"StartStopBJ.txt <span style='color:#111;'> 6B </span>","children":null,"spread":false}],"spread":true},{"title":"Bus.h <span style='color:#111;'> 6.32KB </span>","children":null,"spread":false},{"title":"XBhighway.dsw <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"XBhighway.plg <span style='color:#111;'> 696B </span>","children":null,"spread":false},{"title":"Time.h <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"Time.cpp <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"PassengerList.h <span style='color:#111;'> 722B </span>","children":null,"spread":false},{"title":"BusList.cpp <span style='color:#111;'> 622B </span>","children":null,"spread":false},{"title":"XBhighway.dsp <span style='color:#111;'> 4.48KB </span>","children":null,"spread":false},{"title":"XBhighway.cpp <span style='color:#111;'> 671B </span>","children":null,"spread":false},{"title":"XBhighway.opt <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"BusList.h <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"TheStop.h <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"InterStop.h <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"PassengerList.cpp <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"Simulator.cpp <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"StartStop.h <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"result","children":[{"title":"result.txt <span style='color:#111;'> 1.45MB </span>","children":null,"spread":false}],"spread":false},{"title":"Bus.cpp <span style='color:#111;'> 7.91KB </span>","children":null,"spread":false},{"title":"Passenger.h <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"Passenger.cpp <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"XBhighway.ncb <span style='color:#111;'> 97.00KB </span>","children":null,"spread":false},{"title":"Simulator.h <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"InterStop.cpp <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"TheStop.cpp <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"StartStop.cpp <span style='color:#111;'> 12.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"XBhighway设计说明书.doc <span style='color:#111;'> 98.50KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • lanceyang1992 :
    这是之前的研究生写的,要求倒是一模一样的,不过是控制台下的,参考参考原理还行。
    2015-06-09
  • genglei18710603482 :
    其实看的不是特别懂,留着复习时用吧
    2014-12-10
  • qin_love1314 :
    很详细,很有用
    2013-12-19
  • u011261198 :
    挺好的 ,值得学习
    2013-12-13
  • hezhichuang :
    东西很不错,学习了很多。写的很好
    2013-12-12

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明