文件名称:shortestpath
-
所属分类:
- 标签属性:
- 上传时间:2013-12-06
-
文件大小:4.78kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
输入图,输出最短路径。输入的图需要是 起点 距离 终点 格式-The program first read the input file to create node link list with name of nodes and count the number of nodes. Then it reread the input file to form the adjacency matrix of the graph. It has functions of creating, adding, deleting link list, as well as finding shortest path and printing result. It can point out if there is any disconnected graph form the source node and can print out an alternative shortest path of a node. However, the shortcoming of the program is that it can only point out one alternative shortest path of the nodes. If there are many shortest paths of a node, the program might not point out all of them.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
README.txt
__MACOSX/
__MACOSX/._README.txt
ShortestPath.c
__MACOSX/._ShortestPath.c
testdata.txt
__MACOSX/._testdata.txt
__MACOSX/
__MACOSX/._README.txt
ShortestPath.c
__MACOSX/._ShortestPath.c
testdata.txt
__MACOSX/._testdata.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.