Consistent and Admissible Heuristics

后端 未结 3 1385
执念已碎
执念已碎 2020-12-08 19:21

Any consistent heuristic is also admissible. But when is a heuristic admissible but not consistent (monotone)?

Please provide an example in which this is the case.

3条回答
  •  粉色の甜心
    2020-12-08 20:07

    It best to think of a consistent heuristic as an admissible heuristic which obeys the triangle inequality:

    Cost(a -> c) <= Cost(a -> b) + Cost(b -> c)
    

    for any three nodes a, b and c in the search space, with the understanding that the cost is computed using the actual cost between adjacent nodes and using the heuristic otherwise.

提交回复
热议问题