hailey51
May 12, 2010, 10:28 AM
Hi:)
I was wondering if there's a formula or an algorithm for how to find the shortest/smallest path in a vertex-edge graph.
Like if you made a vertex-edge for linking network hubs together. The verticies= hubs and the edges=amount of cable. How would I find the smallest amount of cable needed.
If my example just confused you, but you think you know how to do this, you can ignore the example.
If you can help, thanks soooo much!
(sorry about the main question saying that it's a euler circuit. I just re-read the problem and it never says it's a Euler circuit.. just a vertex-edge graph)
I was wondering if there's a formula or an algorithm for how to find the shortest/smallest path in a vertex-edge graph.
Like if you made a vertex-edge for linking network hubs together. The verticies= hubs and the edges=amount of cable. How would I find the smallest amount of cable needed.
If my example just confused you, but you think you know how to do this, you can ignore the example.
If you can help, thanks soooo much!
(sorry about the main question saying that it's a euler circuit. I just re-read the problem and it never says it's a Euler circuit.. just a vertex-edge graph)