Limit max path length for Yens path finding algorithm #334
Open
Description
Is your feature request related to a problem? Please describe.
Yes, we're aiming to compute x shortest paths in a huge graph. Yens' algorithm seems to run quite long for our use-case and produces paths that are "too long" in certain cases too.
Describe the solution you would like
It would be nice to be able to cap the max length of the algorithm, and not return any paths if the shortest path exceeds more than x hops.
Describe alternatives you have considered
Neo4Js ExpandConfig statement, but this crashes our Neo4J instance.