Label correcting algorithm for shortest path
이전 댓글 표시
Can any body provide a code for label correcting algorithm for shortest path. Thankyou!
댓글 수: 6
Image Analyst
2013년 5월 26일
Describe what the "label correcting algorithm" is.
And do you already have the shortest path, or do you still need to find it?
Walter Roberson
2013년 5월 26일
It sort of sounds like there might be a known path but with something changed after it was calculated, and now the path needs to be "tweaked" to adjust to the new conditions. As a guess.
jana
2013년 5월 27일
jana
2013년 5월 27일
Walter Roberson
2013년 5월 27일
LIST = [1]; %initialize
...
i = LIST(1); %take out element
LIST(1) = [];
...
if ~ismember(j, LIST); LIST(end+1) = j; end %add j if it is not there
jana
2013년 5월 28일
답변 (1개)
Image Analyst
2013년 5월 26일
0 개 추천
Perhaps Steve's blog would be helpful to you: http://blogs.mathworks.com/steve/2011/11/01/exploring-shortest-paths-part-1/
카테고리
도움말 센터 및 File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!