Consider a connected weighted directed graph G = (V, E, w)
. The fatness of a path P is maximum weight of any edge in P
.
How to find the minimum possible fatness of the graph? Could Dijkstra's algorithm be used to find the minimum fatness?
Consider a connected weighted directed graph G = (V, E, w)
. The fatness of a path P is maximum weight of any edge in P
.
How to find the minimum possible fatness of the graph? Could Dijkstra's algorithm be used to find the minimum fatness?
Actually you are thinking in right direction but Djkstra's algo will only let you know minimum fatness of a path from a single source(i.e. single source shortest path), but to find fatness for whole graph you need to find shortest path from all nodes to every other node, so you need to apply Floyd–Warshall algorithm.
Hope it helps.