I'm trying to understand why anyone would prefer Floyd-Warshal over Dijkstra:
- Dijkstra gives a correct result, using an understandable system, combined with backtracking.
- Floyd-Warshal makes an entire list and filters in there.
The only thing I can imagine, is the case of enormous graphs, where Dijkstra only gives a solution when found, resulting in a very large time for giving a result. Floyd-Warshal, however, already starts spitting out different possibilities and tries to improve those bit by bit (e.g. based on heuristics). But if this were true, then wouldn't that be the case for Dijkstra too?
Or are there other reasons I'm not thinking of here?
For your information: the graphs I'm dealing with, are the "typical" graphs where a vehicle needs to go from one place to another, the weights of the edges are equal to the distances between the vertices (which are the points I travel by). The edges might be directional or not, both are possible (maybe this makes a difference?).