登录
首页 » Visual C++ » traffic

traffic

于 2008-07-07 发布 文件大小:30KB
0 135
下载积分: 1 下载次数: 103

代码说明:

  [基本要求] (1)提供对城市信息进行编辑(如:添加功删除)的功能 (2)城市之间有两面种交通工具:火车和飞机。提供对列车时间表和飞机航班进行编辑(增设或删除)的功能。 (3)提供两面种最优决策:最快到达或最省钱到达。全程只考虑一种交通工具。 (4)旅途中耗费的总时间应该包括中转站的等候时间。 (5)咨询以用户和计算机的对话方式进行。由用户输入起始站、终点站、最优决策原则和交通工具,输出信息:最快需要多长时间才能到达或者最少需要多少旅费才能到达,并详细说明依次于何时坐哪一趟列车哪一次班机到何地。 [实现提示] (1)对全国城市交通图和列车时刻表及飞机航班表的编辑,应该提供文件形式输入和键盘输入两种方式。飞机航班表的信息包括:起始站台票出发时间、终点站的到达时间和票价;列车时刻表则根据交通图给出各个路段的详细信息。 (2)以邻接表作交通图的存储结构,表示边的结点内除了含有邻接点的信息外,还应包括交通工具、路程中消耗的时间和花费以及出发和到达的时间等多项属性。 ()

文件列表:

源文件
......\head.txt
......\显示交通系统.c
......\源文件.txt
......\用户咨询
......\........\被咨询调用.c
......\........\被咨询调用的调用
......\........\................\时间树操作.c
......\........\................\最少旅行中转次数.c
......\........\................\最少旅行时间.c
......\........\................\最少旅行时间和相应路径.c
......\........\................\最少旅行费用.c
......\........\................\最少旅行费用和相应路径.c
......\........\................\队列操作.c
......\用户咨询.c
......\登录界面.c
......\系统管理
......\........\列车编辑
......\........\........\删除列车车次.c
......\........\........\增加列车车次.c
......\........\列车车次编辑.c
......\........\初始化系统.c
......\........\城市编辑
......\........\........\保存城市交通系统到相应的文档.c
......\........\........\删除城市.c
......\........\........\增加城市.c
......\........\城市编辑.c
......\........\系统初始化
......\........\..........\列车车次.c
......\........\..........\创建城市文件.c
......\........\..........\构造图.c
......\........\..........\被构造图调用.c
......\........\..........\飞机航班.c
......\........\航班编辑
......\........\........\删除航班.c
......\........\........\增加航班.c
......\........\飞机航班编辑.c
......\系统管理.c

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MsChartsale
    说明:  一个能显示柱形图功能的源码,方便初学者使用。(A bar graph showing the function of the source code for beginners to use.)
    2009-08-22 12:53:17下载
    积分:1
  • gghhk
    再来一个就可以下载东东了(then one can be downloaded on the Wanton)
    2004-12-15 13:00:00下载
    积分:1
  • conm
    含有成员对象的类的构造函数,派生与继承的体现(Contains the constructor of the class members object, derived with the manifestation of the inherited)
    2012-09-04 12:27:27下载
    积分:1
  • Mainfram44XS
    • Mainframe technology experience (Cobol, DB2, JCL, CICS, ZOS). Person should be well versed with App Migration/modernization, Data Migration and Conversion experience. Involved with defect analysis, fixing documentations and analyzing in past projects. UNIX base with Micro Soft COBOL would be nice to have. • Mainframe technology experience (Cobol, DB2, JCL, CICS, ZOS). Person should be well versed with App Migration/modernization, Data Migration and Conversion experience. Involved with defect analysis, fixing documentations and analyzing in past projects. UNIX base with Micro Soft COBOL would be nice to have.
    2013-11-24 19:02:54下载
    积分:1
  • vendorSample
    usbtrace dll c making sample
    2015-04-25 05:06:32下载
    积分:1
  • loadsys
    一个简单的xp和2k3系统下加载驱动和卸载驱动的源码(Under a simple xp and 2k3 system load and unload the driver source drive)
    2014-01-22 14:45:43下载
    积分:1
  • HCIR1_0A
    OHCI 规范,英文资料,嵌入式USB开发必备(Development of essential information in English, embedded USB OHCI specification)
    2012-08-13 15:53:29下载
    积分:1
  • CAMSHIFT
    采用 CAMSHIFT 算法快速跟踪和检测运动目标的 C/C++ 源代码,OPENCV BETA 4.0 版本在其 SAMPLE 中给出了这个例子。 该运行文件在VC6.0环境下编译通过,是一个 stand-alone 运行程序,不需要OPENCV的DLL库支持。在运行之前,请先连接好USB接口的摄像头。然后可以用鼠标选定欲跟踪目标。已经调通了。(CAMSHIFT algorithm using rapid detection and tracking moving targets C/C++ source code, OPENCV BETA 4.0 version in its SAMPLE given this example. Document in the running VC6.0 environment compiler, is a stand-alone operating procedures, no OPENCV DLL library support. Before the operation, please connect the USB interface of the camera. You can then use the mouse selectedwiththemousewishestotrackthetarge. Has been transferred through.)
    2013-07-14 22:25:08下载
    积分:1
  • bpnnet_156
    在实际应用中,原始的BP算法很难胜任,因此出现了很多的改进算法。BP算法的改进主要有两种途径,一种是采用启发式学习方法,另一种则是采用更有效的优化算法。本例采用动量BP算法,来实现对网络的训练过程,动量法降低了网络对于误差曲面局部细节的敏感性,有效地抑制网络陷于局部极小。 (In practical applications, the original BP algorithm very difficult to do, so there were a lot of the improved algorithm. BP Algorithm There are two main channels, a heuristic learning method is adopted, another is the introduction of more efficient optimization algorithm. In this case the use of momentum BP algorithm to realize the network training process, momentum method to reduce the network error surface for the local details of the sensitivity of the network effectively inhibited in a local minimum.)
    2008-06-16 20:29:09下载
    积分:1
  • 真二叉树重构
    说明:  但是对于“真二叉树”(每个内部节点都有两个孩子的二叉树),给定它的先序、后序遍历序列足以完全确定它的结构。将二叉树的n个节点用[1, n]内的整数进行编号,输入一棵真二叉树的先序、后序遍历序列,请输出它的中序遍历序列。(But for one proper binary tree, in which each internal node has two sons, we can uniquely determine it through its given preorder traversal sequence and postorder traversal sequence.Label n nodes in one binary tree using the integers in [1, n], we would like to output the inorder traversal sequence of a binary tree through its preorder and postorder traversal sequence.)
    2019-04-21 16:54:36下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载