Q3. Graph-Shortest Path [25 marks). A weighted graph G2 is shown in Fig. 2. With v1 as the source, show how Dijkstra's a
Posted: Wed Apr 27, 2022 3:41 pm
Q3. Graph-Shortest Path [25 marks). A weighted graph G2 is shown in Fig. 2. With v1 as the source, show how Dijkstra's algorithm works (needs to keep the predecessor of each node) step by step. List the shortest path from 1 to 07 and its distance. 10 Vs 3 7 12 6 16 5 V 4 2 . 9 14 VO 8 Fig. 2. A weighted graph G2.