Q31
MCQ2 marks, −0.67Let be an undirected, edge-weighted graph with integer weights. The weight of a path is the sum of the weights of the edges in that path. The length of a path is the number of edges in that path. Let be a vertex in . For every and for every , let denote the weight of a shortest path (in terms of weight) from to of length at most . If there is no path from to of length at most , then . Consider the statements: S1: For every and . S2: For every , if is part of a shortest path (in terms of weight) from to , then for every . Which one of the following options is correct?
Sign in to save attempts.
Loading…