Welcome![Sign In][Sign Up]
Location:
Search - program c Dijkstra shortest path graph

Search list

[Mathimatics-Numerical algorithmsbellman

Description: 用C语言实现最短路径算法中的Bellman-Ford算法,这个算法可以用来解决信号处理中的一些问题。bellman_ford.c为源程序;distance.txt文件存放各界点之间的距离,以99999表示无穷大;bellman_ford.txt文件是输出文件,存放每轮循环得到的中间值,以及最后得到的到各个节点的最短距离,如果图包含负回路,文件中返回FALSE。-C language shortest path algorithm to achieve the Bellman-Ford algorithm, The algorithm can be used to solve signal processing some of the problems. Bellman_ford.c to source; distance.txt document repository all the distance between points, to 99,999 infinite said. bellman_ford.txt document output files, storage cycle round the middle value, and, finally, the various nodes of the shortest distance, if the plan contains negative loop, the paper returns FALSE.
Platform: | Size: 103424 | Author: 李文 | Hits:

[Algorithmshortest-path

Description: C++ program for Dijkstra s single source shortest path algorithm.The program is for adjacency matrix representation of the graph
Platform: | Size: 1024 | Author: tanmoy | Hits:

CodeBus www.codebus.net