Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

PIBT

Also known as Priority Inheritance with Backtracking

search mapf-search

PIBT moves all agents one time step at a time until every agent stands at its goal. In each step, agents choose their next vertex in order of priority, and an agent's priority grows with each step it spends away from its goal. An agent tries its own vertex and its neighbours, nearest to its goal first. If a lower-priority agent stands on the chosen vertex, that agent inherits the priority and must move first; if it cannot move, the first agent tries its next choice (backtracking). Each step is cheap, so PIBT is very fast, but it gives no quality guarantee and is not complete: agents can push each other in circles on some graphs.

Pseudocode

algorithm PIBT(agents)input: agents with starts and goalsoutput: a conflict-free plan; the caller's budget may stop it firstfor each agent i dohere[i] ← start_iwhile some agent i has here[i] ≠ goal_i doupdate-priorities(here)                  ▷ +1 away from the goal, reset at the goalfor each agent i donext[i] ← nilfor each agent i by decreasing priority doif next[i] = nil thenplan(i, nil)for each agent i dohere[i] ← next[i]append(path[i], here[i])return pathfunction plan(i, pusher)for each v in candidates(i) do             ▷ here[i] and its neighbours, nearest to goal_i firstif reserved(v) or (pusher ≠ nil and v = here[pusher]) thencontinuereserve(i, v)                            ▷ next[i] ← vj ← occupant(v)if j ≠ nil and j ≠ i and next[j] = nil thenif not plan(j, i) then                 ▷ j inherits the priority of icontinue                             ▷ backtrack: try the next vertexreturn truereserve(i, here[i])                        ▷ stuck: stayreturn false

In the crates

  • mapf-search

    Priority inheritance with backtracking: plans one time step for all agents at a time, very fast, neither optimal nor complete.

    pibt

Lineage

Comes from

Nothing on this site.

Led to

PIBT*_T generalizes it

Papers

  1. Priority Inheritance with Backtracking for Iterative Multi-agent Path Finding Keisuke Okumura, Manao Machida, Xavier Défago, Yasumasa Tamura · 2019· Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence (IJCAI 2019) introduces doi 10.24963/ijcai.2019/76
  2. Priority inheritance with backtracking for iterative multi-agent path finding Keisuke Okumura, Manao Machida, Xavier Défago, Yasumasa Tamura · 2022· Artificial Intelligence extends doi 10.1016/j.artint.2022.103752