Implement Dijkstra's algorithm.
2016-08-23
0 0 0
no vote
Other
Earn points
The algorithm can be compiled in following way:
gcc spf3.c -o spf3
you run it:
$ ./spf3
Enter the source node (0 to 6) : 0
Enter the destination node (0 to 6) : 5
The shortest path is :
(0 -> 1) with cost = 4
(1 -> 3) with cost = 5
(3 -> 5) with cost = 2
c
算法
dijkstra
实现
Related Source Codes
PClite
0
0
no vote
generic embeded FTP Client
0
0
no vote
UDP Test Demo
0
0
no vote
TMS320F28335 DSP transmits data to EEPROM through
0
0
no vote
TMS320F28335 CAN communication source code
0
0
no vote
No comment