Question: Problem 3 Speeding up Dijkstra's Algorithm 4 points In the class, we discussed the basic version of Dijkstra's algorithm whose asymptotic runtime is given by
Problem Speeding up Dijkstra's Algorithm
points
In the class, we discussed the basic version of Dijkstra's algorithm whose asymptotic runtime is given by The main goal of this problem is to speedup Dijkstra's algorithm discussed in the class using minheap data structure.
a Design Dijkstra's shortest path algorithm using minheap data structure and write its pseudocode. Evaluate its asymptotic runtime theoretically. point
b Demonstrate the above Dijsktra's shortest path algorithm with as the start node on the unweighted, undirected graph shown in Figure Clearly show how each nodeattributes ie distance estimate and parent as well as the minheap data structure changes in each iteration in both the algorithms. point
c Implement your pseudocode in Python as a Dijkstraself startvertex subroutine in the Graph class built using adjacency list representation similar to the one in HW and validate your implementation on the same example graph shown in Figure by comparing its output against your answer in Problem b points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
