Dijkstra:Dijkstra在MATLAB中的实现 源码
迪克斯特拉 在MATLAB中实现Dijkstra以查找给定图的最短路径 迪克斯特拉 用法: [dist,path] = dijkstra(nodes, segments, start_ID, end_ID) Note: All arguments are mandatory 输入: NODES is a Nx3 with the format [ID X Y] where ID is each node's ID and (X, Y) are coordinates for node SEGMENTS is a Nx3 matrix with the format [ID N1 N2]
用户评论