Exams › GATE › Engineering Mathematics
For the network below, the objective is to find the length of the shortest path from node P to node G. Let d_ij be the length of directed arc from node i to node j.
Let s_j be the length of the shortest path from P to node j. Which of the following equations can be used to find s_G?
- s_G = Min{s_O, s_R}
- s_G = Min{s_O - d_OG, s_R - d_RG}
- s_G = Min{s_O + d_OG, s_R + d_RG}
- s_G = Min{d_OG, d_RG}
Correct answer: s_G = Min{s_O + d_OG, s_R + d_RG}
Solution
This option correctly represents the shortest path to node G by considering the shortest paths to its predecessors (O and R) and adding the respective arc lengths from those nodes to G, ensuring that all possible routes are evaluated.
Related GATE Engineering Mathematics questions
⚔️ Practice GATE Engineering Mathematics free + battle 1v1 →