Skip to content

Limit max path length for Yens path finding algorithm #334

Open
@lvijnck

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.

Metadata

Assignees

No one assigned

    Labels

    feature requestA suggestion for a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions