r/programming • • Apr 23 '13

PathFinding algorithm, visually explained

http://qiao.github.io/PathFinding.js/visual/
2.2k Upvotes

230 comments sorted by

View all comments

Show parent comment

2

u/aaron552 Apr 24 '13

Best-First search is (roughly) "select the next node where that node is closer (lower heuristic) than the current node". Walk distance isn't part of Best-First.