Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Ranking method

Also known as Bicriterion ranking method

search multiobjective-search

The ranking method finds the Pareto-optimal paths of a two-objective problem by listing paths in order. It generates loopless paths from start to goal in order of the first cost (and the second cost for ties), with a k-shortest-paths enumeration. It keeps a path when its second cost is lower than that of each path already kept. It stops after the path that is best in the second objective, because no later path can be efficient. The method is exact but can take exponential time, so it is mainly a reference for comparison with label-setting searches like BOA*.

Pseudocode

algorithm Ranking(s₀, goal, h)input: start s₀, goal test goal, consistent two-objective heuristic houtput: one path per Pareto-optimal cost vectorc₁-stop ← c₁ of the lexicographic (c₂, c₁)-optimal pathSOLUTIONS ← ∅best₂ ← ∞for each loopless path p in k-shortest-paths(s₀, goal) do   ▷ by (c₁, c₂)if c₁(p) > c₁-stop thenbreak                              ▷ nothing later is efficientif c₂(p) < best₂ thenSOLUTIONS ← SOLUTIONS ∪ {p}best₂ ← c₂(p)return SOLUTIONSfunction k-shortest-paths(s₀, goal)OPEN ← {path ⟨s₀⟩}                     ▷ by (g + h) lexicographicwhile OPEN ≠ ∅ dop ← extract-min(OPEN)if goal(last state of p) thenyield pcontinuefor each (s′, c) in successors(last state of p) doif s′ ∉ p then                     ▷ keep paths looplessinsert(OPEN, p extended by (s′, c))

In the crates

Lineage

Comes from

builds on k-shortest loopless paths

Led to

Nothing on this site.

Papers

  1. A bicriterion shortest path algorithm João Carlos Namorado Clímaco, Ernesto Queirós Vieira Martins · 1982· European Journal of Operational Research introduces doi 10.1016/0377-2217(82)90205-3
  2. Multiobjective Path Problems and Algorithms in Telecommunication Network Design—Overview and Trends José Craveirinha, João Clímaco, Rita Girão-Silva, Marta Pascoal · 2024· Algorithms survey doi 10.3390/a17060222