You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An indexed heap is required for a traditional implementation of Dijkstra's shortest paths algorithm. It adds a DECREASE-KEY operation that optimally alters the priority of an existing element in the queue in O(log N) time. Perhaps worth taking this request with a grain of salt as some benchmarks seem to show using a standard heap is faster, though it has poor worst-cast space complexity. Also I have an optimization of the standard heap approach here that might change the calculus.
The text was updated successfully, but these errors were encountered:
An indexed heap is required for a traditional implementation of Dijkstra's shortest paths algorithm. It adds a DECREASE-KEY operation that optimally alters the priority of an existing element in the queue in O(log N) time. Perhaps worth taking this request with a grain of salt as some benchmarks seem to show using a standard heap is faster, though it has poor worst-cast space complexity. Also I have an optimization of the standard heap approach here that might change the calculus.
The text was updated successfully, but these errors were encountered: