Jump to content

Shortest path problem: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Phelanpt (talk | contribs)
moved external link to proper place
Line 18: Line 18:


In a networking or telecommunications mindset, this shortest path problem is sometimes called the min-delay path problem and usually tied with a widest path problem. e.g.: Shortest (min-delay) widest path or Widest shortest (min-delay) path.
In a networking or telecommunications mindset, this shortest path problem is sometimes called the min-delay path problem and usually tied with a widest path problem. e.g.: Shortest (min-delay) widest path or Widest shortest (min-delay) path.

A good site in Spanish: http://optimos2.diinf.usach.cl/swc (has references in English)


== References ==
== References ==
Line 27: Line 25:
==External links==
==External links==
* [http://alienryderflex.com/shortest_path C code to find the shortest path through a concave polygon]
* [http://alienryderflex.com/shortest_path C code to find the shortest path through a concave polygon]
* [http://optimos2.diinf.usach.cl/swc A good site in Spanish (has references in English)]

[[Category:Graph theory]]
[[Category:Graph theory]]
[[Category:Polynomial-time problems]]
[[Category:Polynomial-time problems]]

Revision as of 22:22, 29 September 2006

In graph theory, the single-source shortest path problem is the problem of finding a path between two vertices such that the sum of the weights of its constituent edges is minimized. More formally, given a weighted graph (that is, a set V of vertices, a set E of edges, and a real-valued weight function f : E → R), and given further one element v of V, find a path P from v to each v' of V so that

is minimal among all paths connecting v to v' . The all-pairs shortest path problem is a similar problem, in which we have to find such paths for every two vertices v to v' .

A solution to the shortest path problem is sometimes called a pathing algorithm. The most important algorithms for solving this problem are:

A related problem is the traveling salesman problem, which is the problem of finding the shortest path that goes through every node exactly once, and returns to the start. That problem is NP-Complete, so an efficient solution is not likely to exist.

In a networking or telecommunications mindset, this shortest path problem is sometimes called the min-delay path problem and usually tied with a widest path problem. e.g.: Shortest (min-delay) widest path or Widest shortest (min-delay) path.

References