Hi,
I looked into all pairs shortest path routing algorithms to use for traffic simulations.
I found that the Floyd–Warshall algorithm works well for my purpose.
pgRouting has a function for this which produces a table with the shortest path distance between all source/destination pairs.
It is basically supposed to output the first node of the shortest path between the source and destination in addition to the overall distance of that route.
This information is sufficient to reconstruct all paths using the parent child relationship recursively.
Does pgr_apspWarshall support this?
Or can anyone point to the person that implemented pgr_apspWarshall?
So far I use my own implementation outside of PostGIS, but I think whis functionality might be of interest for others too.
best regards, Christoph Mayrhofer