Open nicolaspayette opened 12 years ago
This would be super helpful. By being able to randomly choose between 'reasonably short' paths, we can model imperfect information in networks. I guess it'd be sort of network stochasticity.
I'm running into this limitation right now. Is there any way to force nw to report all shortest paths?
Currently, all the "path-to" primitives return the first path that Jung's implementation of Dijktra's algorithm finds.
Maybe there should even be a way to get all the acyclic paths from A to B. (You could then order them by length if you want to.)