文件名称:3
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.34kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
对所给出的城市路口、道路信息,分别用Dijkstra 算法和Floyd算法,求出两两之间的最短距离和路径,结果输出到文件,每行一组最短路径,其格式为逗号分割的信息,分别为起点、终点、最短距离、中间依次经过的路口编号,各行按照起点编号、终点编号从小到大排序,只输出起点编号小于终点编号的部分。
-Information given city intersection, road, Dijkstra algorithm and Floyd algorithm to calculate the shortest distance and path between every two, the resulting output to a file, each line of a shortest path, its format is a comma-separatedas a starting point, the end of the shortest distance, the middle turn through the intersection number, each line in accordance with the starting point number, end number from small to large sorting and output only part of the starting point number is less than the end number.
-Information given city intersection, road, Dijkstra algorithm and Floyd algorithm to calculate the shortest distance and path between every two, the resulting output to a file, each line of a shortest path, its format is a comma-separatedas a starting point, the end of the shortest distance, the middle turn through the intersection number, each line in accordance with the starting point number, end number from small to large sorting and output only part of the starting point number is less than the end number.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.