Three questions about the AI rookie:
- Why is heuristic acceptable for determining A * optimal path?
- What good is the braking technique if there are obstacles in the way?
- What algorithm is suitable for finding a path on a grid with obstacles? (e.g. pacman)
For the first question, let's take the Manhattan distance heuristic as the basis, and the call is h (x). Now why does A * find a non-optimal path with a new heuristic that is 8 * h (x) + 5? (random numbers). As far as I understand in the A * algorithm, the decision will be made in accordance with the function f(x) = g(x) + h(x) , therefore, if I increase h, why is the maximum / minimum change?
I read this article , and there they talked about reproduction as a small factor to inhibit communication, it was somehow for my theory, but they insisted that this factor should be small. Therefore, I do not know what to think about it.
For the second question, I tried the methods in the link to solve the pacman game. Any change in heuristic distance in Manhattan has led to an increase in the number of nodes. I even “invented” a new weighing scheme, where I prefer the paths on the outer shell - the same thing. Later I tried to take the maximum of all the functions (which should also be acceptable), but still got poor performance. What am I missing?
Nothing to add for the third question. As mentioned, I can't find anything better than Manhattan.
source share