文件名称:CJC_DictS
介绍说明--下载内容均来自于网络,请自行研究使用
已知从起始点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