concept straight - line distance in category algorithms
appears as: straight-line distce,
Straight-line distce

This is an excerpt from Manning's book Algorithms and Data Structures in Action MEAP V14.
Figure 14.18 Running Dijkstra’s algorithm on a directed graph (derived from the example in figure 14.10).
![]()
The running time using an array for the priority queue is going to be O(|V|2), because each vertex will require O(|V|) operations to update priority or to adjust the queue after extraction.