Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

BOA*ε

Also known as BOA*eps, Approximate BOA*

search multiobjective-search

BOA*ε is BOA* with a multiplicative tolerance 1 + ε on the second objective. It changes one test only: a path is dropped once (1 + ε) · f2 reaches the second cost of the last solution. Every returned solution is Pareto-optimal, and for each Pareto-optimal cost s some returned solution r has r1 ≤ s1 and r2 ≤ (1 + ε) · s2. The crate takes ε as an exact fraction num / den, so the test uses no floating point, and ε = 0 gives BOA* again. Use it when a slightly worse second cost is acceptable and a smaller front, found faster, is worth more.

Pseudocode

algorithm BOA*ε(s₀, goal, h, ε)input: start state s₀, goal test goal, heuristic h consistent in both costs, tolerance ε ≥ 0output: Pareto-optimal paths that cover the front within 1 + ε in the second costg2-min[s] ← ∞ for every state sg2-best ← ∞                                  ▷ g₂ of the last solutionSOLUTIONS ← ∅OPEN ← {⟨s₀, (0, 0)⟩}                        ▷ ordered by f = g + h, lexicographicallywhile OPEN ≠ ∅ do⟨s, g⟩ ← extract-min(OPEN)if g₂ ≥ g2-min[s] or covered(g₂ + h₂(s)) thencontinueg2-min[s] ← g₂if goal(s) thenSOLUTIONS ← SOLUTIONS ∪ {path-to(s, g)}g2-best ← g₂continuefor each (s′, c) in successors(s) dog′ ← g + cif g′₂ < g2-min[s′] and not covered(g′₂ + h₂(s′)) theninsert(OPEN, ⟨s′, g′⟩, g′ + h(s′))return SOLUTIONSfunction covered(f₂)return g2-best ≤ (1 + ε) · f₂                ▷ the only change to BOA*; ε = 0 is BOA*

In the crates

Lineage

Comes from

builds on BOA*

Led to

A-BOA*ε builds on it

Papers

  1. Approximate Bi-Criteria Search by Efficient Representation of Subsets of the Pareto-Optimal Frontier Boris Goldin, Oren Salzman · 2021· International Conference on Automated Planning and Scheduling (ICAPS) introduces doi 10.1609/icaps.v31i1.15957 arXiv 2006.10302