Wavefront propagation algorithms

Figure 8.4: The wavefront propagation algorithm is a specialized version of Dijkstra's algorithm that optimizes the number of stages to reach the goal.
\begin{figure}WAVEFRONT PROPAGATION ALGORITHM
\begin{enumerate}
\item Initialize...
...inate; otherwise, let $i :=
i+1$ and go to Step 2.
\end{enumerate}
\end{figure}

Once the approximation has been made, any of the methods discussed in Section 8.2.2 can be used to compute a navigation function. An optimal navigation function can be easily computed using Dijkstra's algorithm from the goal. If each motion has unit cost, then a useful simplification can be made. Figure 8.4 describes a wavefront propagation algorithm that computes an optimal navigation function. It can be considered as a special case of Dijkstra's algorithm that avoids explicit construction of the priority queue. In Dijkstra's algorithm, the cost of the smallest element in the queue is monotonically nondecreasing during the execution of the algorithm. In the case of each motion having unit cost, there will be many states in the queue that have the same cost. Dijkstra's algorithm could remove in parallel all elements that have the same, smallest cost. Suppose the common, smallest cost value is $ i$. These states are organized into a wavefront, $ W_i$. The initial wavefront is $ W_0$, which represents the states in $ {X_{G}}$. The algorithm can immediately assign an optimal cost-to-go value of $ 1$ to every state that can be reached in one stage from any state in $ W_0$. These must be optimal because no other cost value is optimal. The states that receive cost $ 1$ can be organized into the wavefront $ W_1$. The unexplored neighbors of $ W_1$ are assigned cost $ 2$, which also must be optimal. This process repeats inductively from $ i$ to $ i+1$ until all reachable states have been reached. In the end, the optimal cost-to-go is computed in $ O(n)$ time, in which $ n$ is the number of reachable grid states. For any states that were not reached, the value $ \phi(x) = \infty$ can be assigned. The navigation function shown in Figure 8.3 can actually be computed using the wavefront propagation algorithm.

Steven M LaValle 2012-04-20