Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Bypass

Also known as BP, Conflict bypass

other mapf-search

Bypass is an option of CBS that sometimes avoids a split. When CBS splits a node, it first looks at the children it just built. If a child is as cheap for its replanned agent as the parent and has strictly fewer conflicts, the parent takes over that child's paths and goes back into the open list instead of being split. The parent keeps its own constraints, so no solution is lost and CBS stays optimal. Use it to keep the constraint tree small when many cheapest paths exist; in mapf-search it is the bypass field of CbsConfig.

Pseudocode

algorithm Bypass(n, c)input: a constraint-tree node n, its chosen conflict coutput: the nodes to put into the open listCHILDREN ← ∅for each constraint k in split(c) dom ← child(n, k)                            ▷ replans the agents k affectsif m ≠ nil thenCHILDREN ← CHILDREN ∪ {m}for each m in CHILDREN doif is-bypass(n, m) thenfor each agent j in replanned(m) don.paths[j] ← m.paths[j]                ▷ n keeps its own constraintsupdate-conflicts(n)return {n}                               ▷ reopen n instead of splittingreturn CHILDRENfunction is-bypass(n, m)for each agent j in replanned(m) doif cost(m.paths[j]) ≠ cost(n.paths[j]) thenreturn falsereturn |conflicts(m)| < |conflicts(n)|

In the crates

  • mapf-search

    CBS option that adopts a child's paths instead of splitting when the child is as cheap for its replanned agent as the parent and has fewer conflicts.

    CbsConfig

Lineage

Comes from

builds on CBS

Led to

Nothing on this site.

Papers

  1. Don't Split, Try To Work It Out: Bypassing Conflicts in Multi-Agent Pathfinding Eli Boyarski, Ariel Felner, Guni Sharon, Roni Stern · 2015· International Conference on Automated Planning and Scheduling (ICAPS) introduces doi 10.1609/icaps.v25i1.13725
  2. ICBS: Improved Conflict-Based Search Algorithm for Multi-Agent Pathfinding Eli Boyarski, Ariel Felner, Roni Stern, Guni Sharon, David Tolpin, Oded Betzalel, Eyal Shimony · 2015· International Joint Conference on Artificial Intelligence (IJCAI) applies