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
15
u/mccoyn Apr 24 '13
Even that is under-counting for JPS. This maze has a shortest path that passes through 20 cells, but for JPS it only reports that it uses 17 operations. How can it know it is a valid path without at least checking each and every cell the path passes through?