Dijkstra's algorithm with binary heap (Johnson 1977) (Nonnegative Weights Shortest Path (Directed Graphs))
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