Dijkstra's shortest path algorithm

E1045595

Dijkstra's shortest path algorithm is a classic graph algorithm that efficiently computes the minimum-cost paths from a single source vertex to all other vertices in a weighted graph with non-negative edge weights.

All labels observed (6)

How this entity was disambiguated

Statements (51)

Predicate Object
instanceOf graph algorithm ⓘ
shortest path algorithm ⓘ
single-source shortest path algorithm ⓘ
algorithmParadigm greedy algorithm ⓘ
application GPS navigation systems ⓘ
game AI pathfinding ⓘ
robot path planning ⓘ
routing in communication networks ⓘ
transportation planning ⓘ
assumesEdgeWeights non-negative ⓘ
correctFor graphs with non-negative edge weights ⓘ
definedOn weighted graph ⓘ
developedBy Edsger W. Dijkstra ⓘ
failsWhen graph has negative edge weights ⓘ
graph has negative weight cycle ⓘ
field computer science ⓘ
graphType directed graph ⓘ
undirected graph ⓘ
input graph ⓘ
source vertex ⓘ
namedAfter Edsger W. Dijkstra ⓘ
notCorrectFor graphs with negative edge weights ⓘ
output shortest path distances from source to all vertices ⓘ
shortest path tree ⓘ
property computes optimal paths under non-negative weights ⓘ
deterministic algorithm ⓘ
label-setting algorithm ⓘ
relatedTo A* search algorithm ⓘ
linked to: A* search

Bellman–Ford algorithm ⓘ
Floyd–Warshall algorithm ⓘ
Johnson's algorithm ⓘ
requires non-negative edge weights ⓘ
solvesProblem single-source shortest path problem ⓘ
spaceComplexity O(V + E) ⓘ
step initializes all distances to infinity except source ⓘ
relaxes outgoing edges of selected vertex ⓘ
repeatedly selects vertex with minimum tentative distance ⓘ
subfield algorithms ⓘ
graph theory ⓘ
terminatesWhen all vertices are processed ⓘ
timeComplexity O((V + E) log V) with binary heap ⓘ
O(E + V log V) with Fibonacci heap ⓘ
O(V^2) with adjacency matrix and simple array ⓘ
usesDataStructure distance array ⓘ
min-heap ⓘ
predecessor array ⓘ
priority queue ⓘ
worksOn dense graphs ⓘ
sparse graphs ⓘ
yearProposed 1956 ⓘ
yearPublished 1959 ⓘ

How these facts were elicited

Referenced by (6)

Full triples — surface form annotated when it differs from this entity's canonical label.

Fibonacci heap → usedInAlgorithm → Dijkstra's shortest path algorithm ⓘ
RFC 2328 → usesAlgorithm → Dijkstra shortest path first algorithm ⓘ
linked to: Dijkstra's shortest path algorithm
LSP PDU → associatedWithAlgorithm → Dijkstra shortest path first ⓘ
linked to: Dijkstra's shortest path algorithm
RFC 7503 → uses → Dijkstra shortest-path-first algorithm ⓘ
linked to: Dijkstra's shortest path algorithm
RFC 5302 → usesAlgorithm → Dijkstra algorithm ⓘ
linked to: Dijkstra's shortest path algorithm
Bellman–Ford algorithm → comparedWith → Dijkstra's algorithm ⓘ
linked to: Dijkstra's shortest path algorithm