Skip to content

Fix BidirectionalShortestPath from one node to itself. #36

Description

@gustavolgcr

Analyze the case where the from and to nodes from a ShortestPath are the same. The algorithm should return distance/cost equal to zero. Currently, the algorithm is trapped in a loop.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions