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

Small error on Dijkstra's explanation #1

Open
pdelfino opened this issue Jun 1, 2018 · 0 comments
Open

Small error on Dijkstra's explanation #1

pdelfino opened this issue Jun 1, 2018 · 0 comments

Comments

@pdelfino
Copy link

pdelfino commented Jun 1, 2018

Hi,

I really liked this post: https://medium.com/basecs/finding-the-shortest-path-with-a-little-help-from-dijkstra-613149fbdc8e

I have been studying Dijkstra and I really liked your work! =)

However, there is this error:
"We’ll check its unvisited neighbor (it only has one, node e), and calculate the distance to e, from the origin node, via our current vertex, b."

As your own table shows node d is also unvisited, not just e.

Also there’s a mismatch in images part 5 and part 6. Previous vertex of d changes from c in part 5 to b in part 6, which gives wrong explanation for shortest path from a to d in subsequent part of the post.

Keep up the good work, girl!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant