GATEverse
← GATE CSE 2020

Q40

MCQ2 marks, −0.67

Let G=(V,E)G = (V,E) be a directed, weighted graph with weight function w:E→Rw: E \rightarrow \mathbb{R}. For some function f:V→Rf: V \rightarrow \mathbb{R}, for each edge(u,v)∈E(u,v)\in E, define w′(u,v){w}'(u,v) as w(u,v)+f(u)−f(v)w(u,v)+f(u)-f(v). Which one of the options completes the following sentence so that it is TRUE? “The shortest paths in GG under ww are shortest paths under w′{w}' too,_____________”.

Sign in to save attempts.

Loading…