How can i create a grid of x and y dimensions, each link joining to adjacent nodes has a speed property?
I want also to search for the shortest path between two different points on the grid, the shortest path is in terms of travel time (travel time is the sum of (the units travelled/speed of each unit).
The path between the nodes should be following the grid;vertical or horizontal between the nodes of grid (no diagonals)

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Networks 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by