Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

BOA*

Also known as Bi-objective A*

search multiobjective-search

BOA* finds one path for every Pareto-optimal cost vector from a start to a goal when each edge has two costs. A path is Pareto-optimal when no other path is at least as good in both costs and better in one. BOA* expands paths in lexicographic order of f = g + h: first by f1, then by f2. With a consistent heuristic (one that never drops by more than an edge's cost along that edge), BOA* drops a path when its g2 or its f2 cannot improve on the paths it already expanded; each test takes constant time. Use it for exact two-objective routing; with a zero heuristic it is a bi-objective Dijkstra search.

Pseudocode

algorithm BOA*(s₀, goal, h)input: start state s₀, goal test goal, heuristic h consistent in both costsoutput: one path for every Pareto-optimal cost vectorg2-min[s] ← ∞ for every state sg2-best ← ∞                                  ▷ g₂ of the last solution, the smallest so farSOLUTIONS ← ∅OPEN ← {⟨s₀, (0, 0)⟩}                        ▷ ordered by f = g + h, lexicographicallywhile OPEN ≠ ∅ do⟨s, g⟩ ← extract-min(OPEN)if g₂ ≥ g2-min[s] or g₂ + h₂(s) ≥ g2-best thencontinue                                 ▷ dominatedg2-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 g′₂ + h₂(s′) < g2-best theninsert(OPEN, ⟨s′, g′⟩, g′ + h(s′))return SOLUTIONS                             ▷ first cost ascending, second descending

In the crates

Lineage

Comes from

builds on A*

Led to

BOA*ε builds on it

BOBA* builds on it

Constrained shortest path builds on it

Minsum-maxmin path builds on it

MO-CBS combines it

PP-A* builds on it

Two-phase method combines it

Papers

  1. A Simple and Fast Bi-Objective Search Algorithm Carlos Hernández Ulloa, William Yeoh, Jorge A. Baier, Han Zhang, Luis Suazo, Sven Koenig · 2020· International Conference on Automated Planning and Scheduling (ICAPS) introduces doi 10.1609/icaps.v30i1.6655
  2. Simple and efficient bi-objective search algorithms via fast dominance checks Carlos Hernández, William Yeoh, Jorge A. Baier, Han Zhang, Luis Suazo, Sven Koenig, Oren Salzman · 2023· Artificial Intelligence extends doi 10.1016/j.artint.2022.103807