Let \(G = (V,E)\) be a directed, weighted graph with weight function \(w: E…
PYQ GATE 2020
Let be a directed, weighted graph with weight function . For some function , for each edge , define as .
Which one of the options completes the following sentence so that it is TRUE ?
“The shortest paths in under w are shortest paths under too, _________”.
- A.
for every
- B.
if and only if
is positive - C.
if and only if
is negative - D.
if and only if
is the distance fromtoin the graph obtained by adding a new vertextoand edges of zero weight fromto every vertex of
Attempted by 183 students.
Sign up free to check your answer
Sign up freeLoading lesson…

