How to change cost in matlab function.

1 次查看(过去 30 天)
I am using A_Star_Search algorithm for finding shortest distance but i want to give cost for left =2 and simple cost is =1 . so that it prefers to go forward rather than left or right.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by