Label correcting algorithm for shortest path
    3 views (last 30 days)
  
       Show older comments
    
Can any body provide a code for label correcting algorithm for shortest path. Thankyou!
6 Comments
  Walter Roberson
      
      
 on 27 May 2013
				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
Answers (1)
  Image Analyst
      
      
 on 26 May 2013
        Perhaps Steve's blog would be helpful to you: http://blogs.mathworks.com/steve/2011/11/01/exploring-shortest-paths-part-1/
0 Comments
See Also
Categories
				Find more on Graph and Network Algorithms in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

