Lazy Theta*
Also known as Lazy Theta star
search heuristic-search
Lazy Theta* finds short any-angle paths on a grid: chains of straight segments between cell centres at any angle, not only in 45-degree steps. Like Theta*, it runs A* over the eight grid moves with Euclidean lengths, and a cell may take the parent of the cell that generated it as its own parent. Lazy Theta* makes that link without a check. It checks line of sight (that the straight segment crosses no blocked cell) only once, when it expands the cell; if the check fails, the cell takes its cheapest expanded neighbour as parent. This needs far fewer line-of-sight checks than Theta* for paths of similar length, but the paths are not guaranteed to be shortest, and unlike Theta* not guaranteed to be no longer than the cheapest 8-connected path.
Pseudocode
algorithm Lazy-Theta*(s₀, s-goal)input: start cell s₀, goal cell s-goal of a grid with line of sightoutput: an any-angle path from s₀ to s-goal, or failureg[s₀] ← 0parent[s₀] ← s₀OPEN ← {s₀} ▷ ordered by f = g + d(s, s-goal)CLOSED ← ∅while OPEN ≠ ∅ dos ← extract-min(OPEN)CLOSED ← CLOSED ∪ {s}repair-parent(s)if s = s-goal thenreturn path-to(s)for each neighbour s′ of s with s′ ∉ CLOSED dop ← parent[s]if g[p] + d(p, s′) < g[s′] then ▷ d: Euclidean distanceg[s′] ← g[p] + d(p, s′)parent[s′] ← p ▷ assumed; checked on expansioninsert-or-update(OPEN, s′, g[s′] + d(s′, s-goal))return failureprocedure repair-parent(s)if not line-of-sight(parent[s], s) thenn ← the expanded neighbour of s with the smallest g[n] + d(n, s)parent[s] ← ng[s] ← g[n] + d(n, s)In the crates
heuristic-searchfeaturefloatAny-angle search on a line-of-sight grid that defers line-of-sight checks.
Lineage
Comes from
builds on Theta*
Led to
Nothing on this site.
Papers
- Lazy Theta*: Any-Angle Path Planning and Path Length Analysis in 3D Alex Nash, Sven Koenig, Craig Tovey · 2010· AAAI Conference on Artificial Intelligence