Cop-Win Edge Completion: Hardness, Structure, and Parameterized Algorithm
Abstract
We study Cop-Win Edge Completion: given a graph $G$, find the minimum number $\copfill(G)$ of edges whose addition lets one cop capture a visible robber. We first give an exact reduction from Dominating Set, constructing for every nonempty graph $H$ a graph $G_H$ on $2|V(H)|+2$ vertices with $\copfill(G_H)=γ(H)$. This resolves a complexity question of Mertzios et al. and implies NP-completeness even for connected graphs of diameter two with a dominating edge and domination number two. Interestingly, while Minimum Fill-in is fixed-parameter tractable in the number $k$ of added edges, Cop-Win Edge Completion, whose target class strictly contains the connected chordal graphs, is W[2]-hard parameterized by $k$, even by $k+γ(G)$. We then give two lower bounds. The first, $\copfill(G)\ge 2n-m-b-c-1$, where $n,m,b,c$ count vertices, edges, nontrivial blocks, and components, is tight for partial 2-trees, giving a linear-time algorithm for the optimum value and a quadratic-time construction; for outerplanar graphs, an optimum completion preserving outerplanarity is found in linear time. The second, based on the cycle space modulo the subspace generated by triangles, gives $\copfill(G)=c-1+\sum_{i=1}^r(\ell_i-3)$ for block-cactus graphs with long cycle blocks of lengths $\ell_1,\ldots,\ell_r$. We also show how the optimum behaves under disjoint unions and joins, yielding a polynomial-time algorithm for $P_4$-sparse graphs, including cographs, and exact formulas for complete multipartite graphs. In contrast to partial 2-trees and block-cactus graphs, an optimum cop-win completion can be much smaller than a minimum chordal one, already on complete bipartite graphs. Finally, we give FPT algorithms for $k+\mathrm{nd}(G)$, for the twin-cover number $t$ alone in time $2^{O(t^3)}n^{O(1)}$, and for $k+\mathrm{tw}(G)$.