|
-
Feb 22nd, 2002, 02:03 PM
#1
Thread Starter
Frenzied Member
Shortest Route Algorithm
I am trying to code a version of the shortest route Network Problem. Does anyone know any current algorithms in either C or C++ that is able to solve this problem
Many Thanks in Advance
Steve
-
Feb 22nd, 2002, 02:08 PM
#2
Frenzied Member
can you please explain more? Im guessing your computer knows the layout of the network? is this just a sample problem or are you actually on a network using this?
-
Feb 22nd, 2002, 08:39 PM
#3
Thread Starter
Frenzied Member
Shortest route network
Yes it is on a network, l have nodes that represent places and lines connected the nodes as distances. What the user does is select two nodes. one for the origin and one for the destination. then the algorithm will find the shortest path through the network. l hope l have explained myself better to you
Many thanks
Steve
-
Feb 22nd, 2002, 08:41 PM
#4
Thread Starter
Frenzied Member
The network is only a very simple one, it is something l have drawn in VB. Using lines and picture boxes.
-
Feb 22nd, 2002, 09:30 PM
#5
This should probably go in the Games and Graphics forum, if it is in VB.
Take a look at some pathfinding algorithms (its basically what you want). A* is a standard, and there are others that may interest you.
Z.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|