Consider the weighted undirected graph with 4 vertices, where the weight of…

GATE · 2016 · CS · Set 1 · Computer Science & IT

Consider the weighted undirected graph with 4 vertices, where the weight of edge {i,j}\{i, j\} is given by the entry WijW_{ij} in the matrix WW.

W = [02852058850x58x0]\begin{bmatrix} 0&2 &8 &5 \\ 2&0 &5 &8 \\ 8&5 &0 &x \\ 5& 8 &x &0 \end{bmatrix}

The largest possible integer value of xx, for which at least one shortest path between some pair of vertices will contain the edge with weight xx is .

Attempted by 109 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…