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
3
u/calfuris Apr 24 '13
That's....not so much a bug as an accurate representation of the limitations of the Best-First algorithm. Best-First is "prioritize based on heuristic", if you add "also consider the walk distance from the start" you've got A* instead of Best-First.