post about multiple shortest paths with floyd warshall algorithm 05-11-2014d1351

2014-08-29

post about multiple shortest paths with floyd warshall algorithm 05-11-2014d1351

I wanted to use the FloydWarshallShortestPaths class with the getShortestPaths() method to get all shortest paths in the graph. However, after trying to use the method, I was disappointed to discover that the meethod only gave one shortest path for each node pair. If there was multiple shortest paths of the same length for a node pair, this method just gave me one of the shortest paths. What should I do? Is there a way that I can get all of the shortest paths, including multiple shortest paths (of the same length) for those node pairs which have multiple shortest paths? Thanks for any help and information you have to offer me!


see yahoomail message around 05-11-2014d1352