Description: Note that this is not the function of function, but a statement about the problems in function. shortest () function there is no problem, I hope that in secshortest only a short time (or several roadcost () times the value of the same short-circuit), the result is several out, I carefully examined the process, it should be no problem. Therefore, in use, to be at a short circuit can only be used roadcost () function, respectively, for some of the weight of the road and find the smallest. Some strange
To Search:
File list (Check if you may need any files):
最短路和次短路
..............\canshu.m
..............\getpath.m
..............\roadcost.m
..............\secshortest.m
..............\shortest.m
..............\Shortest_Djk.m
..............\说明.txt
说明.txt