Fringe search
search heuristic-search
Fringe search finds a cheapest path with an admissible heuristic h (one that never overestimates), like A*, but it needs no priority queue. Like IDA*, it works in iterations with a cost threshold: it expands the states with f = g + h up to the threshold, defers the others, and then raises the threshold to the smallest deferred f. The fringe is two lists, now and later, and each new or improved successor goes to the head of now, so an iteration runs depth-first. Like A*, it caches the best g and the parent of every state seen, so it expands a state again only after it finds a cheaper path to it. Use it on grid and game maps with few distinct f values; many distinct float costs mean many iterations, and memory grows as for A*.
Pseudocode
algorithm Fringe-Search(S₀, goal, h)input: start states S₀, goal test goal, admissible heuristic houtput: a cheapest path to a goal, or failurefor each s in S₀ dog[s] ← 0NOW, LATER ← S₀, ∅θ ← min { h(s) : s ∈ S₀ }while true dowhile NOW ≠ ∅ dos ← pop-head(NOW)if g[s] + h(s) > θ thenappend(LATER, s) ▷ deferred to the next iterationcontinueif goal(s) thenreturn path-to(s)for each (s′, c) in successors(s) doif g[s] + c < g[s′] then ▷ g of an unseen state is ∞g[s′] ← g[s] + cparent[s′] ← sremove(NOW ∪ LATER, s′) ▷ lazily, by a fresh ticketpush-head(NOW, s′)if LATER = ∅ thenreturn failureθ ← min { g[s] + h(s) : s ∈ LATER }NOW, LATER ← LATER, ∅In the crates
heuristic-searchOptimal with an admissible heuristic, threshold iterations over a cache of g per state, no priority queue.
Lineage
Comes from
builds on IDA*
Led to
Nothing on this site.
Papers
- Fringe Search: Beating A* at Pathfinding on Game Maps Yngvi Björnsson, Markus Enzenberger, Robert C. Holte, Jonathan Schaeffer · 2005· IEEE Symposium on Computational Intelligence and Games (CIG)