GATEverse
← GATE CSE 2021 Set 2

Q55

NAT2 marks

In a directed acyclic graph with a source vertex s\textsf{s}, the quality-score\textit{quality-score} of a directed path is defined to be the product of the weights of the edges on the path. Further, for a vertex vv other than s\textsf{s}, the quality-score of vv is defined to be the maximum among the quality-scores of all the paths from s\textsf{s} to vv. The quality-score of s\textsf{s} is assumed to be 11.

Figure 1

The sum of the quality-scores of all vertices on the graph shown above is _______

Sign in to save attempts.

Loading…