Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dijkstra's Algorithm rogue node in final path #1

Open
ossner opened this issue Jul 30, 2020 · 0 comments
Open

Dijkstra's Algorithm rogue node in final path #1

ossner opened this issue Jul 30, 2020 · 0 comments
Assignees
Labels
bug 🐛 Something isn't working

Comments

@ossner
Copy link
Owner

ossner commented Jul 30, 2020

Describe the bug
In the solution path for Dijkstra's algorithm, it can happen that there appears a node that should not appear in the shortest path.

To Reproduce
Steps to reproduce the behavior (If generation issue, please provide the seed stated on the first page):

  1. Random seed: 410964038
  2. Go to Dijkstra Solution

Screenshots
image

image

Desktop:

  • IDE: IntelliJ IDEA

Additional context
Note that the final path length was not influenced by the K node, so if you encounter this, you could just think about whether or not it makes sense.

@ossner ossner self-assigned this Jul 30, 2020
@ossner ossner added the bug 🐛 Something isn't working label Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant