Content deleted Content added
Had to correct further - infinity symbol does not appear as intended |
Someone else (talk | contribs) space before ∞ seems to help |
||
Line 2:
<b>Dijkstra's algorithm</b>, named after its inventor the Dutch [[computer scientist]] [[Edsger Dijkstra]], solves a [[shortest path problem]] for a directed and connected [[graph theory|graph]] G(V,E) which has nonnegative (>=0) [[edge]] weights. The set V is the set of all [[vertex|vertices]] in the graph G. The set E is the set of ordered pairs which represent connected vertexes in the graph (if (u,v) belongs to E then vertexes u and v are connected).
Assume that the function w: V x V -> [0,
A few subroutines for use with Dijkstra's algorithm:
|