Question: (dijkistra's algorithm): given a network with n stations. assuming the shortest between s,t was found using dijkstra's algorithm. let that path be denoted as (a
(dijkistra's algorithm): given a network with n stations. assuming the shortest between s,t was found using dijkstra's algorithm. let that path be denoted as (a1,a2,....,ak)
1)will the algorithm will necessarily find the shortest path between each pair of nodes (ai,aj) (i 2)assume that between the nodes s and t, there's an at least additional path with the same weight, but with different edges(meaning both paths have different edges, nothing in common). suggest a way to find that path and explain well
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
