摘要: graphshortestpath 函数是用来解决最短路径问题的。 语法为: [dist, path, pred]=graphshortestpath(G,S) [dist, path, pred]=graphshortestpath(G,S,T) G是稀疏矩阵,S是起点,T是终点。dist表示最短 阅读全文
posted @ 2018-07-19 21:19 ╰追憶似水年華ぃ╮ 阅读(10265) 评论(0) 推荐(0)