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

Threaded View

  1. #2
    Join Date
    Apr 2008
    Posts
    725

    Re: short path algorithm

    you said you have assumed all roads are connected. Simply, you have to remove that assumption and follow through the consequences.

    In general, showing only a snippet is not very helpful, escpecially when you have not shown how you have parsed the file into queque / t / next.

    Since your problem is that some things are not added to the queue, I would look at the code that adds things to the queue! no point in onyl showing us how you use the queue, when the problem has already happened!
    Last edited by Amleto; December 17th, 2011 at 07:15 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