FOCBS
Also known as Flow-Oracle CBS, Flow-Oracle Conflict-Based Search
search mapf-search
FOCBS (Flow-Oracle Conflict-Based Search) plans for fleets in which some agents have a goal and the others are idle: an idle agent only has a start, may end anywhere, and must get out of the way. CBS searches the paths of the agents with goals alone, by their sum of costs. At each conflict-free node a min-cost flow over a time-expanded graph routes the idle agents around those paths with the fewest moves. If no routing exists, the flow's minimum cut names the reservations that block it, and the node gets one child per blocker that forbids it to its agent (flow-conflict branching). The plan has the least sum of costs that still lets the idle agents through, and the fewest idle moves for those paths. Use it for warehouses and depots where parked robots must make room.
Pseudocode
algorithm FOCBS(assigned, idle)input: assigned agents with starts and goals, idle agents with starts onlyoutput: a conflict-free plan with the least sum of costs that leaves room for the idle agents, or failurefor each assigned agent i doroot.paths[i] ← replan(i, ∅) ▷ space-time A*if root.paths[i] = nil thenreturn failureroot.constraints ← ∅OPEN ← {root} ▷ ordered by sum of costswhile OPEN ≠ ∅ don ← extract-min(OPEN)c ← choose-conflict(n.paths)if c ≠ nil thenK ← split(c) ▷ as in CBSelseR ← route(n.paths, idle) ▷ min-cost flow up to the latest arrivalif R ≠ nil thenreturn (n.paths, R)K ← ∅for each blocker b in min-cut(n.paths, idle) doif time(b) > 0 thenK ← K ∪ {forbid(b)} ▷ flow-conflict branchingfor each constraint k in K dom ← copy(n)m.constraints ← n.constraints ∪ {k}m.paths[agent(k)] ← replan(agent(k), m.constraints)if m.paths[agent(k)] ≠ nil theninsert(OPEN, m)return failureIn the crates
mapf-searchFlow-oracle CBS for agents without goals: CBS over the agents with goals while a min-cost flow routes the idle ones and its minimum cut tells CBS which reservations block them.
Lineage
Led to
Nothing on this site.
Papers
- Asymmetric Decomposition for Multi-Agent Path Finding with Unassigned Agents Xi Jin, Chen Qian, Renjun Zhang, Guowei Wu, Xiaobo Li, Jun Jiang, Weiwei Shang · 2026· arXiv preprint