From charlesreid1

Revision as of 16:01, 9 September 2017 by Admin (talk | contribs) (Created page with "=Notes= Dijkstra's algorithm is a weighted breadth-first search. it uses a greedy heuristic to select the next edge. It works by starting with an empty "cloud" of vertices,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Notes

Dijkstra's algorithm is a weighted breadth-first search. it uses a greedy heuristic to select the next edge. It works by starting with an empty "cloud" of vertices, and adds vertices to the cloud in order of their distance from s.

The end result of Dijkstra's algorithm is the length of the shortest distance (weighted path) from the source vertex s to all other vertices v on the graph G.