Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

A-A*pex

Also known as Anytime A*pex

search multiobjective-search

A-A*pex is an anytime form of A*pex: it gives a usable front early and makes it better while it runs. Each iteration runs A*pex with the next, smaller tolerance ε from a schedule. Paths that a pruning or a merge dropped, but that can still lead to a Pareto-optimal solution, go to a list, and the next iteration starts from them instead of from the start state. After each iteration the solutions approximate the Pareto front within 1 + ε; when an iteration drops no such path, they are the exact front and the search stops. The crate has the paper's four variants: reuse, reuse-enh (more pruning by earlier representatives), restart, and hybrid (restart first, then reuse).

Pseudocode

algorithm A-A*pex(s₀, goal, h, schedule)input: start s₀, goal test goal, consistent heuristic h, tolerance vectors ε from scheduleoutput: ever better approximations of the Pareto front, the last one exact if it gets thereSOLUTIONS ← ∅                                ▷ plain paths, kept across iterationsPRUNED ← {[s₀]}for each ε in schedule doOPEN ← {⟨c(π), π⟩ : π ∈ PRUNED}             ▷ apex-path pairs; restart uses [s₀] insteadPRUNED ← ∅CLOSED[s] ← ∅ for every state swhile OPEN ≠ ∅ doAP ← extract-min(OPEN)                   ▷ ordered by f = apex + hs ← state of APif some π* in SOLUTIONS has c(π*) ≤ (1 + ε) · f(AP) in every objective thenif c(π*) does not weakly dominate c(rep(AP)) + h(s) thenPRUNED ← PRUNED ∪ {rep(AP)}          ▷ may still lead to a Pareto-optimal pathcontinueif some AP″ in CLOSED[s] has Tr(apex(AP″)) weakly dominating Tr(apex(AP)) then   ▷ Tr drops objective 1if c(rep(AP″)) does not weakly dominate c(rep(AP)) thenPRUNED ← PRUNED ∪ {rep(AP)}continueCLOSED[s] ← CLOSED[s] ∪ {AP}               ▷ reuse-enh also prunes by earlier representativesif goal(s) thenSOLUTIONS ← non-dominated(SOLUTIONS ∪ {rep(AP)})continuefor each child AP′ of AP that the same two tests keep domerge AP′ into an open pair at its state if the result is ε-bounded, else insert itif a merge drops a representative that the kept one does not weakly dominate thenPRUNED ← PRUNED ∪ {that representative}if the factor of SOLUTIONS fell thenreport(SOLUTIONS, max ε)if PRUNED = ∅ thenreturn SOLUTIONS                         ▷ the exact Pareto frontreturn SOLUTIONS

In the crates

Lineage

Comes from

builds on A*pex

Led to

Nothing on this site.

Papers

  1. A-A*pex: Efficient Anytime Approximate Multi-Objective Search Han Zhang, Oren Salzman, Ariel Felner, Carlos Hernández Ulloa, Sven Koenig · 2024· International Symposium on Combinatorial Search (SoCS) introduces doi 10.1609/socs.v17i1.31556