I have a weighted graph. I want to find the best path from node S to node E, so that the maximum single edge weight that was inside that path is the smallest possible.
For example:
S -> E (w=40)
S -> A (w=30)
A -> E (w=20)
For this graph, djikstra would calculate the shortest path to be S->E with cost 40. What I want instead, is S->A->E (with cost max(30, 20) = 30).
Is it possible to modify dijkstra in such a way? Or is there any known algorithm that accomplishes this?