WDG Heuristic
Also known as Weighted Dependency Graph heuristic, WDG
heuristic mapf-search
The WDG heuristic gives CBS a lower bound on how much the cost of a node must still rise, so CBS expands fewer nodes. It builds the weighted dependency graph: one vertex per agent, and an edge between two agents that are dependent, which means that their MDDs (all their cheapest paths, layered by time) have no combination without a conflict. Each edge gets a weight Δ: the optimal sum of costs of the pair alone under its constraints, minus their current costs, from a small CBS over the two agents. The bound is a minimum edge-weighted vertex cover: the least total rise ∑ x_i with x_a + x_b ≥ Δ_ab for every edge. It is admissible for sum of costs and at least as strong as DG; where an exact answer is too costly, the crate uses a smaller bound, so it stays admissible.
Pseudocode
algorithm WDG(n)input: a CBS node n with its paths, costs c_i and constraintsoutput: an admissible lower bound on how much n's sum of costs must riseE ← ∅for each pair (a, b) with a conflict in n.paths doif dependent(a, b, n) thenΔ ← pair-weight(a, b, n)if Δ = ∞ thenreturn ∞ ▷ the pair has no joint plan: prune nE ← E ∪ {(a, b, max(Δ, 1))}return min-weighted-vertex-cover(E) ▷ least ∑ x_i with x_a + x_b ≥ Δ_ab on each edgefunction dependent(a, b, n)if cardinal(a, b, n) thenreturn truereturn joint-paths(mdd(a, c_a), mdd(b, c_b)) = nilfunction pair-weight(a, b, n)c* ← cbs-cost({a, b}, n.constraints) ▷ the pair alone; a lower bound if cut shortreturn c* − (c_a + c_b)In the crates
mapf-searchAdmissible CBS high-level heuristic: the DG graph with each edge weighted by how much the pair's sum of costs must rise, bounded by an edge-weighted vertex cover; at least DG.
Lineage
Comes from
builds on DG Heuristic
Led to
Nothing on this site.
Papers
- Improved Heuristics for Multi-Agent Path Finding with Conflict-Based Search Jiaoyang Li, Ariel Felner, Eli Boyarski, Hang Ma, Sven Koenig · 2019· Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence (IJCAI 2019)