Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dijkstra's shortest path algorithm
#1
I chose to write a program to find shortest paths in a network for my applied networking technologies "exam".

you can get it at: http://www.fbtk.net/phpBB2/download.php?id=108

Dijkstra's shortest path algorithm is cool, because it finds all the shortest paths to a single vertex, in one run, and it's worst case speed is vertex_count * max_edges_for_each_vertex.

I'm still not sure if I understand fully how it works... I know how to use it, so that's good enough for now. It's a very usefull algorithm to know, espetially for game programming.[/url]
COUNT HACKED BY RAZVEEE

RAZVEE IS A SCRIPT KIDDIE- hacker9
Reply
#2
Could you define vertex and edge please.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#3
Edit: I had originally posted something really long, but I decided to shorten it. Smile

A vertex is a point and an edge is a line made by connecting 2 vertices/points.
974277320612072617420666C61696C21 (Hexadecimal for those who don't know)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)