previous    up   next

A* Algorithm

Algorithm A * is surely most widespread to solve the problems of search for an optimal path. The general principle of an algorithm of type A is based on a heuristic approach of the problem. A cost function integrates two concepts:

The guarantee of the convergence and the optimality of the solution are of course related to the quality of the heuristics.

The principle of optimality is based on the fact that if a path is optimal, then any under-path of this path is optimal too. That means that for any node it is enough to preserve the best path in term of cost. The algorithm is described as A * if the heuristic estimate of the cost of the remaining path to cover is optimistic, i.e. always lower than or equal to its real value.

The principle is based on an treelike search in the space of the possible states. An ordered list of the states contains the nodes to be studied accompanied with their cost.

The classification follows the ascending order of the costs, most promising first.

The cost function is of additive type. For a node n' successor of the node n, it has the following form:

\begin{displaymath}f(n')= \underbrace{\underbrace{g(n)}_{\mbox{optimal path to n......h(n)}_{\mbox{heuristic estimation to the goal (unknown value)}}\end{displaymath}

A second list memorizes the nodes which describe the current path. At the end of the process it contains the optimal path between the initial point and the final point.

      previous    up   next     
  
 IRIT-UPS