全国交通模拟

所属分类:文章/文档
开发工具:C/C++
文件大小:1788KB
下载次数:0
上传日期:2021-03-11 19:20:27
上 传 者小白、菜
说明:  (1)提供对城市信息进行编辑(如添加或删除)的功能。 (2)城市之间有两种或两种以上交通工具:火车和飞机。提供对列车时刻表和飞机航班进行编辑(增设或删除)的功能。 (3)提供两种最有决策:最快到达和最省钱到达。全程只考虑一种交通工具。 (4)旅途中耗费的总时间应包括中转站的等候时间。 (5)咨询以用户和计算机的交互方式进行。由用户输入起始站、终点站、最优决策原则和交通工具。输出信息:最快需要多上时间才能到达或者最少需要对少旅费才能到达,并详细说明依次于何时乘哪一趟列车或航班到何地。 (1)对全国城市交通图和列车时刻表及飞机航班表进行编辑,应该提供文件形式输入和键盘输入两种形式。飞机航班表的信息应包括:起始站的出发时间、终点站的到达时间和票价;列车时刻表需根据交通图给出各个路段的详细信息,如:对从北京到上海的火车,需给出北京至天津、天津至徐州以及徐州至上海各段的出发时间、到达时间及票价等信息。
((1) The function of city information editing (such as adding or deleting) is provided. (2) There are two or more modes of transportation between cities: trains and airplanes. It provides the function of editing (adding or deleting) train timetable and flight. (3) Provide two kinds of the most efficient decisions: the fastest arrival and the cheapest arrival. Only one vehicle is considered in the whole process. (4) The total travel time should include the waiting time at the transfer station.)

文件列表:
全国交通模拟.docx (1833770, 2021-03-11)

近期下载者

相关文件


收藏者