Dijkstra's algorithm with binary heap (Johnson 1977) (Nonnegative Weights Shortest Path (Directed Graphs))

From Algorithm Wiki
Revision as of 07:55, 10 April 2023 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Time Complexity

$O((E + V) \log V)$

Space Complexity

$O(V)$ words

(keeping track of distances/previous node in path, along with heap)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word/Real RAM

Year

1977

Reference

https://dl.acm.org/citation.cfm?id=321993