Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

SIP-MOSP

search multiobjective-search

SIP-MOSP finds the exact Pareto set of paths with many threads that do not wait for each other (asynchronous). Search workers expand labels from private queues, each with its own objective order. They prune children against snapshots: published, read-only copies of a state's frontier and of the goal frontier. One update worker owns each state; it alone changes that state's exact frontier, checks each candidate again if its snapshot is old, and publishes the next version. Snapshots are a sorted, indexed base plus a short list of recent additions, so most checks are fast and the result does not depend on thread timing.

Pseudocode

algorithm SIP-MOSP(s₀, goal, h)input: start s₀, goal test goal, admissible heuristic houtput: one path per Pareto-optimal cost vectorF[s] ← ∅ and SNAP[s] ← ⟨∅, version 0⟩ for every state ssend ⟨s₀, 0⟩ to owner(s₀)in parallel dorun every search worker, every update worker and the goal workeruntil no label is sent but not yet processedreturn F[goal states] as pathsprocedure Search-Worker(j)repeatℓ ← extract-min(Q_j)                 ▷ private queue, own objective orderfor each (s′, c) in successors(ℓ.s) dog′ ← ℓ.g + cσ ← SNAP[s′]if σ weakly dominates g′ or SNAP[goal] weakly dominates g′ + h(s′) thencontinue                         ▷ pruned against snapshotssend ⟨s′, g′, version of σ, parent: ℓ⟩ to owner(s′), or to the goal workeruntil stoppedprocedure Update-Worker(ℓ)if version of ℓ ≠ current version of SNAP[ℓ.s] and SNAP[ℓ.s] weakly dominates ℓ.g thenreturn                               ▷ re-check only when the snapshot is oldif F[ℓ.s] weakly dominates ℓ.g thenreturnF[ℓ.s] ← {x ∈ F[ℓ.s] : ℓ.g does not dominate x} ∪ {ℓ.g}SNAP[ℓ.s] ← publish(F[ℓ.s])            ▷ indexed base plus short deltaif not goal(ℓ.s) then                  ▷ the goal worker keeps its labelsinsert ℓ into the less loaded of two search queues

In the crates

  • multiobjective-search feature parallel

    Asynchronous parallel exact multi-objective search with versioned frontier snapshots and indexed dominance pruning.

    sip_mosp

Papers

  1. Asynchronous Parallel Search for Exact Multi-Objective Shortest Paths with Versioned Frontier Snapshots and Indexed Dominance Pruning Xiaoqing Xu, Ning Zhang, Liuyihui Qian, Xiaojun Liu, Juan Wu, Hong Tang · 2026 introduces arXiv 2609.11944