0
4.9kviews
To find Dijkstra shortest path from vertex 1 to vertex 4 for following graph.
1 Answer
written 8.7 years ago by |
Source Vertex | Distance with other vertices | Path shown in graph |
---|---|---|
1 | 1– 2,path = 7 1 – 3,path = ∞ 1 – 4,path = ∞ 1 – 5,path = ∞ 1 – 6,path = 3 |
![]() |
6 | 6 – 2,path = 3 + 2 = 5 6 – 3,path = 3 … |