CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #2
    Join Date
    May 2009
    Posts
    2,413

    Re: Shortest Path Algorithm

    It seems,

    http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm

    that the naive implementation is O(N*N) whereas a more involved version takes you down to O(N*logN). That's very much better.

    This could be what you're looking for,

    http://www.codeproject.com/KB/recipe...Algorithm.aspx
    Last edited by nuzzle; July 21st, 2011 at 01:36 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured