



After you have completed the decreasoKoy and lab12/Part_C/prioritygueue py, raise your hand and demonstrate your code by running the lab12/Part C/make min spanning tree py program _contains methods in The EXTRA CREDIT Opportunities related to Part B 1. Thus, greatly improving the efficiency of decreaseKey and contains methods. This version adds a data attribute self.keyToIndexDict dictionary where the keys are all the second tuple values in the self.heapArray and their values are there corresponding index locations in is the self.heapArray The methods buildHeap, percDown, minchild, and percUp have all been modified to correctly update the self.keyToIndexDict dictionary Your task for Part C is to complete the methods decreaseKey and_ contains so that they use the self.keyToIndexDict dictionary. Word Pro-lab12.lwp 2/2 Does it give the expected outpu b) Modify the dijkstra function in the lab12/graph algorithms.py file by comparing it to the similar prim function After you have fixed the dijksta function in lab12/graph_algorithms.py, raise your hand and demonstrate your code by running the lab12/test dijkstra.py program Part C: In IDLE open the PriorityQueue class file: lab12/Part_C/priorityQueue.py.
