find the nearest neighbour from source node to destination node

hello guys, i wish to find the only one less cost path to reach the destination node through neighbor nodes.

回答 (1 件)

Image Analyst
Image Analyst 2015 年 5 月 26 日

0 投票

If you have the Image Processing Toolbox, you can use bwdistgeodesic. See Steve's blog: http://blogs.mathworks.com/steve/2011/11/01/exploring-shortest-paths-part-1/

質問済み:

2015 年 5 月 26 日

回答済み:

2015 年 5 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by