文件名称:CJC_DictS
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:592byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
已知从起始点A到达各目站点(B、C、D...)的各最短路径上所有站点的前驱站点,以及至前驱站点的距离。以一个二维数组pre描述已知信息,第1列是前驱站点的序号(以0、1、2...分别表示站点A、B、C...),第2列是至前驱站点的距离。试推算和输出从起始点出发到达各其余站点的最短路径和距离。完成源程序DictS.CPP中Pathway函数的编写。-Known from the starting point A to reach the target site (B, C, D. ..) of the shortest path on the site all sites of the precursor and the precursor to the distance from the site. Described by a two-dimensional array of pre known information, the first one is the precursor site of the serial number (0,1,2 ... to represent the site A, B, C. ..), column 2 is the precursor to the site distance. Test and output projections starting from a starting point to reach the rest of the site of the shortest path and distance. Pathway function in the complete source DictS.CPP preparation.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CJC_DictS.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.