artificial intelligence - When is one heuristic better than another? -
i answered question in 2 heuristics given a* conducted find path start state goal state.
one of heuristics found path expanding 1 node less - reason, heuristic better other?
thanks!
we cannot 1 heuristic "better" because expands fewer nodes on 1 example of problem. on next example, "better" heuristic might expand many more nodes other.
we know heuristic estimate can't go on actual distance if admissible. in other words, heuristic function must constructed in such way never overestimate distance goal under circumstances.
it make sense, then, if 1 heuristic gets closer actual distance without going over, can considered "better". if used heuristic said distance between 2 nodes 1
(or value less shortest edge length) end expanding lot of nodes. estimate gets closer actual distance make more can eliminate paths earlier.
there are, of course, other ways of defining "better", such being easier calculate.
Comments
Post a Comment