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
1
u/chironshands Apr 25 '13
right, it won't be optimal if the heuristic is invalid. Admissible heuristics cannot overestimate the distance see Admissible Heuristic. In my test cases, the big issue was that the bidirectional search was getting worse final path costs for each heuristic, except with the Chebyshev distance.