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 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 from to in the graph obtained by adding a new vertex to and edges of zero weight from to every vertex of
