A* Search

Description:

  • Order by the sum of cost in path (as in UCS) and the heuristic (as in Greedy Algorithm)
  • Expand the node with the least
    • cost so far + its heuristics
  • A* is complete and optimal, provided that is admissible for tree search and consistent for graph search

Admissible heuristics:

  • Inadmissible heuristic are pessimistic heuristics and break the optimality by trapping good nodes on the Fringe
  • A good heuristic should be where is the true cost
  • However, a admissible heuristic are solutions to related problem
    • where illegal actions are available
    • say the heuristics of going from A to B can be thru a wall

Consistent heuristics:

  • Ensures that the first time exploring any node, it is guaranteed that that node is reached with the shortest path