CG Heuristic
Also known as Conflict Graph heuristic, CG
heuristic mapf-search
The CG heuristic gives CBS a lower bound on how much the sum of costs of a constraint-tree node must still rise. A conflict is cardinal when every cheapest path of both agents takes part in it, so each way of resolving it costs at least one more step. The heuristic builds the conflict graph: one vertex per agent and one edge per pair with a cardinal conflict. The agents whose costs rise must form a vertex cover of this graph, so the size of a minimum vertex cover is admissible (it never overestimates). mapf-search computes a safe lower bound on that size and uses it for the sum of costs only, as CbsHeuristic::Cg.
Pseudocode
algorithm CG(n)input: a constraint-tree node n with the MDD of each conflicting agentoutput: a lower bound on the rise of the sum of costs below nE ← ∅for each conflict (i, j, v, t) of n doif is-cardinal(MDD_i, v, t) and is-cardinal(MDD_j, v, t) thenE ← E ∪ {(i, j)}return vertex-cover-bound(E)function is-cardinal(M, v, t)return level t of M holds only v ▷ for a swap: both endsfunction vertex-cover-bound(E)k ← size of a greedy maximal matching of E ▷ a lower bound on the coverwhile k < 12 and not has-cover(E, k) do ▷ exact search is exponential in kk ← k + 1return k ▷ every smaller size was ruled outIn the crates
mapf-searchAdmissible CBS high-level heuristic: a lower bound on the minimum vertex cover of the graph of agents with cardinal conflicts.
Lineage
Comes from
builds on Prioritizing Conflicts
Led to
DG Heuristic generalizes it
Papers
- Adding Heuristics to Conflict-Based Search for Multi-Agent Path Finding Ariel Felner, Jiaoyang Li, Eli Boyarski, Hang Ma, Liron Cohen, T. K. Satish Kumar, Sven Koenig · 2018· International Conference on Automated Planning and Scheduling (ICAPS)