Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

A-BOA*ε

Also known as Anytime BOA*ε, Anytime Approximate Bi-Objective Search

search multiobjective-search

A-BOA*ε is an anytime search for two objectives: it reports a better approximation of the Pareto front each time it finds one. It keeps the solutions found so far as the corners of intervals, and each interval holds the paths that can still give a new solution between its two corners. The approximation factor ε̂ of an interval tells how far its corners can be from such a solution. Each iteration takes the interval with the largest ε̂, runs BOA*ε on its paths with ε = ε̂ / d, and keeps the paths that only the tolerance pruned for later iterations, so no work repeats. The reported factors fall strictly, and a complete run ends with the exact front; the crate also has a weighted-sum pruning variant and a baseline that restarts every iteration.

Pseudocode

algorithm A-BOA*ε(s₀, goal, h, d)input: start s₀, goal test goal, heuristic h consistent in both costs, divisor d ≥ 2output: fronts with strictly falling approximation factors, the last one exactπ-tl ← lexicographic optimum in the order (c₁, c₂)π-br ← lexicographic optimum in the order (c₂, c₁)ILIST ← [⟨π-tl, π-br, {[s₀]}⟩]                ▷ intervals between neighbouring solutionsreport(corners of ILIST, max ε̂ over ILIST)while some interval of ILIST has ε̂ > 0 doI ← the interval of ILIST with the largest ε̂(I)replace I in ILIST by refine(I, ε̂(I) / d)   ▷ ε = 1 while ε̂(I) is infiniteif max ε̂ over ILIST fell thenreport(corners of ILIST, max ε̂ over ILIST)return corners of ILIST                      ▷ the exact Pareto frontfunction refine(⟨π-tl, π-br, Π⟩, ε)OPEN, KEPT, PARTS ← Π, ∅, []                ▷ OPEN ordered by f = g + h, lexicographicallyg2-min[s] ← ∞ for every state sπ-tmp, best ← π-tl, ∞                        ▷ best: g₂ of the last solution found herewhile OPEN ≠ ∅ doπ ← extract-min(OPEN)if pruned(π) thencontinueg2-min[end(π)] ← g₂(π)if goal(end(π)) thenappend(PARTS, ⟨π-tmp, π, KEPT⟩)π-tmp, best, KEPT ← π, g₂(π), ∅elsefor each extension π′ of π by one edge doif not pruned(π′) theninsert(OPEN, π′)append(PARTS, ⟨π-tmp, π-br, KEPT⟩)return PARTSfunction pruned(π)if f₁(π) ≥ f₁(π-br) or f₂(π) ≥ f₂(π-tl) or g₂(π) ≥ g2-min[end(π)] or f₂(π) ≥ best thenreturn true                                ▷ dominatedif best ≤ (1 + ε) · f₂(π) thenKEPT ← KEPT ∪ {π}                          ▷ pruned only by the tolerance: kept for laterreturn truereturn false

In the crates

Lineage

Comes from

builds on BOA*ε

Led to

Nothing on this site.

Papers

  1. Anytime Approximate Bi-Objective Search Han Zhang, Oren Salzman, T. K. Satish Kumar, Ariel Felner, Carlos Hernández Ulloa, Sven Koenig · 2022· International Symposium on Combinatorial Search (SoCS) introduces doi 10.1609/socs.v15i1.21768