Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

PP-A*

Also known as Path-pair A*

search multiobjective-search

PP-A* finds a small set of paths that covers the Pareto set of a two-objective problem within a factor 1 + ε in each objective. It searches over path pairs: two paths to one state, one with the smallest first cost and one with the smallest second cost. The apex of a pair, made of these two smallest costs, is a lower bound for all paths that the pair stands for. A new pair merges into an open pair at the same state when the merged pair stays within the tolerance, so near-equal paths share one entry. With ε = 0 it returns the same costs as BOA*; it needs a consistent heuristic.

Pseudocode

algorithm PP-A*(s₀, goal, h, ε₁, ε₂)input: start s₀, goal test goal, consistent heuristic h, tolerances ε₁, ε₂output: paths covering the Pareto set within 1 + ε in each objective▷ a pair ⟨tl, br⟩: paths to one state, smallest c₁ and smallest c₂▷ apex(pp) ← (c₁(tl), c₂(br)); bounded when c₁(br) ≤ (1 + ε₁) · c₁(tl)OPEN ← {⟨s₀, tl: empty path, br: empty path⟩}   ▷ by apex f, lexicographicg₂-min[s] ← ∞ for every state sSOLUTIONS ← ∅while OPEN ≠ ∅ dopp ← extract-min(OPEN)if g₂(pp.br) ≥ g₂-min[pp.s] or (1 + ε₂) · f₂(pp.br) ≥ c₂(last of SOLUTIONS) thencontinueg₂-min[pp.s] ← g₂(pp.br)if goal(pp.s) thenif merge(last of SOLUTIONS, pp) is bounded thenreplace the last of SOLUTIONS by the merged pairelseappend pp to SOLUTIONScontinuefor each (s′, c) in successors(pp.s) dopp′ ← ⟨s′, tl: pp.tl + c, br: pp.br + c⟩if g₂(pp′.br) ≥ g₂-min[s′] or (1 + ε₂) · f₂(pp′.br) ≥ c₂(last of SOLUTIONS) thencontinueif an open pair q at s′ has merge(q, pp′) bounded thenreplace q by merge(q, pp′) in OPENelseinsert(OPEN, pp′)return the br path of each pair in SOLUTIONS

In the crates

Lineage

Comes from

builds on BOA*

Led to

A*pex generalizes it

Iterative-PP-A* 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