Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

BOBA*

Also known as Bi-objective bidirectional A*

search multiobjective-search

BOBA* is a bidirectional search for two objectives: it runs two BOA* searches toward each other. The forward search starts at the start and orders paths by the first cost; the backward search starts at the goal on reversed edges and orders them by the second cost. The last solution of each search bounds the other search's primary cost, so the two share the Pareto front and stop where they meet. Its heuristics are exact single-objective distances from four cost-bounded searches, or heuristics from the caller, and it adds the paper's early solution update and heuristic tuning. The result is the exact Pareto front; the crate alternates the two directions, or runs them in threads with the parallel feature.

Pseudocode

algorithm BOBA*(s₀, t)input: start state s₀, goal state t, edges with two costs and their predecessorsoutput: one path for every Pareto-optimal cost vectorh-fwd, h-bwd ← cost-bounded-searches(s₀, t)   ▷ four searches: exact distance per objectiveF ← BOA*-search(s₀ to t, order (f₁, f₂), heuristic h-fwd)B ← BOA*-search(t to s₀ on reversed edges, order (f₂, f₁), heuristic h-bwd)repeatfor each ⟨D, E⟩ in ⟨⟨F, B⟩, ⟨B, F⟩⟩ doif not step(D) thenreturn merge(solutions(F), solutions(B))   ▷ every solution is foundif D just expanded a state s for the first time, at primary cost g thenraise-secondary-heuristic(E, s, g)     ▷ heuristic tuningprimary-bound(E) ← secondary cost of the last solution of Duntil falsefunction step(D)if OPEN(D) = ∅ or the least primary f in OPEN(D) ≥ primary-bound(D) thenreturn false                               ▷ this direction is done⟨s, g⟩ ← extract-min(OPEN(D))if not dominated(D, s, g) then               ▷ as in BOA*g2-min(D)[s] ← secondary cost of gif s has a known primary-optimal completion then   ▷ early solution updateπ ← path-to(s, g) joined with that completionif secondary cost of π < that of the last solution of D thenadd-solution(D, π)if the completion is optimal in both costs thenreturn true                            ▷ no need to expand sif s is the target of D thenadd-solution(D, path-to(s, g))elseexpand(D, s, g)return true

In the crates

Lineage

Comes from

builds on BOA*

Led to

Nothing on this site.

Papers

  1. Bi-Objective Search with Bi-Directional A* Saman Ahmadi, Guido Tack, Daniel Harabor, Philip Kilby · 2021· European Symposium on Algorithms (ESA), LIPIcs 204 introduces arXiv 2105.11888