Thread: Need help finding a simple 'shortest path' algorithm

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    14

    Question Need help finding a simple 'shortest path' algorithm

    Hi,
    I've been looking around the internet for a while now trying to find some source code for a 'shortest path' algorithm. I've come across a couple now, but the ones I've found haven't been very easy to follow and haven't had any comments. I was wondering if anyone knew of any sites that generally have well commented, easy to understand (and free to use) algorithms?
    Thanks!

  2. #2
    Fear the Reaper...
    Join Date
    Aug 2005
    Location
    Toronto, Ontario, Canada
    Posts
    625
    Teacher: "You connect with Internet Explorer, but what is your browser? You know, Yahoo, Webcrawler...?" It's great to see the educational system moving in the right direction

  3. #3
    Registered User Noir's Avatar
    Join Date
    Mar 2007
    Posts
    218
    but the ones I've found haven't been very easy to follow and haven't had any comments.
    Write one. As long as you understand how the algorithm works, you shouldn't need code unless you're planning to cheat on homework. If you don't know how the algorithm works, how can you be confident that any code you find is correct?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. simple hashing algorithm??
    By iori in forum C Programming
    Replies: 7
    Last Post: 04-14-2003, 05:18 PM
  2. Simple Question
    By John22 in forum C Programming
    Replies: 3
    Last Post: 12-14-2002, 10:41 AM
  3. Debuggin a Simple STL Algorithm :: STL
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 10-25-2002, 10:09 AM
  4. a simple algorithm and questions
    By ustuzou in forum C++ Programming
    Replies: 0
    Last Post: 02-18-2002, 11:12 AM
  5. Simple File Creation Algorithm
    By muffin in forum C Programming
    Replies: 13
    Last Post: 08-24-2001, 03:28 PM