ECBS
Also known as Enhanced CBS, Enhanced Conflict-Based Search
search mapf-search
Enhanced CBS (ECBS) finds a collision-free plan for many agents whose cost is at most w times the optimum (bounded-suboptimal). It runs focal search at both levels of CBS: among the open nodes whose cost is within w times the lowest lower bound, it expands the one with the fewest conflicts, not the cheapest one. The low level does this per agent in space and time, counts conflicts with the other agents' current paths and reports a lower bound on the agent's optimal cost. The high level adds these bounds to get its lower bound and prefers nodes with fewer conflicting agent pairs. Use ECBS when optimal CBS is too slow and a known cost bound is enough; w = 1 gives an optimal plan.
Pseudocode
algorithm ECBS(agents, w)input: agents with start and goal vertices, weight w ≥ 1output: a conflict-free plan with cost at most w · optimum, or failurefor each agent i doroot.paths[i], root.lb[i] ← focal-plan(i, ∅, root.paths, w)if root.paths[i] = nil thenreturn failureOPEN ← {root} ▷ f(n) = ∑ n.lb, ordered by fwhile OPEN ≠ ∅ doFOCAL ← {n ∈ OPEN : cost(n) ≤ w · min f(OPEN)}n ← the node of FOCAL with the fewest conflicting pairsremove(OPEN, n)c ← first-conflict(n.paths)if c = nil thenreturn n.pathsfor each (i, k) in split(c) do ▷ agent i gets constraint km ← copy(n)m.constraints ← n.constraints ∪ {k}m.paths[i], b ← focal-plan(i, m.constraints, m.paths, w)if m.paths[i] ≠ nil thenm.lb[i] ← max(n.lb[i], b)insert(OPEN, m)return failurefunction focal-plan(i, C, PATHS, w)▷ focal search over (vertex, time) under C: among open states with f ≤ w · f-min,▷ expand the one with the fewest conflicts with PATHS so farreturn the path to the goal, and f-min when the goal is poppedIn the crates
mapf-searchEnhanced CBS, bounded-suboptimal within a weight w, with focal search at both levels.
Lineage
Led to
Nothing on this site.
Papers
- Suboptimal Variants of the Conflict-Based Search Algorithm for the Multi-Agent Pathfinding Problem Max Barer, Guni Sharon, Roni Stern, Ariel Felner · 2014· Symposium on Combinatorial Search (SoCS)