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)

More Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!