r/programming • u/hazadess • Apr 23 '13
PathFinding algorithm, visually explained
http://qiao.github.io/PathFinding.js/visual/
2.2k
Upvotes
r/programming • u/hazadess • Apr 23 '13
View all comments
Show parent comment
2
u/Neebat Apr 25 '13
I don't understand the algorithm well enough. But I know that when you ignore a neighbor you're actually ignoring all paths that go through that neighbor. There could be lower - cost nodes farther away that end up in a low cost path through the node you skipped.