简体   繁体   中英

Weighted graph fatness algorithm

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(ie 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM