Revisiting Path Contraction and Cycle Contraction
R. Krithika, V. K. Kutty Malu, Prafullkumar Tale
TL;DR
The paper revisits Path Contraction and Cycle Contraction, two NP-complete graph editing problems, to achieve faster algorithms and finer classifications on restricted graph classes. It introduces Path Contraction With Constrained Ends and builds a dynamic programming framework based on potential $k$-witness and potential $k$-prefix sets, yielding an overall running time of ${\mathcal{O}}^*(2^{k})$ for Path Contraction. Cycle Contraction is then tackled with an ${\mathcal{O}}^*((2 + \epsilon_{\ell})^{k})$-time FPT algorithm (where $\epsilon_{\ell} \leq 0.5509$ and $\ell = n - k$) and a faster exponential-time exact method, culminating in ${\mathcal{O}}^*(2.5191^{n})$ for the optimization problem. Additionally, the authors establish polynomial-time solvability for Path Contraction on planar graphs, show a tight fine-grained lower bound for Path Contraction on chordal graphs under the Orthogonal Vectors Conjecture, and discuss the linear-time solvability of Cycle Contraction on chordal graphs, highlighting a nuanced landscape of tractability across graph classes.
Abstract
The Path Contraction and Cycle Contraction problems take as input an undirected graph $G$ with $n$ vertices, $m$ edges and an integer $k$ and determine whether one can obtain a path or a cycle, respectively, by performing at most $k$ edge contractions in $G$. We revisit these NP-complete problems and prove the following results. Path Contraction admits an algorithm running in $\mathcal{O}^*(2^{k})$ time. This improves over the current algorithm known for the problem [Algorithmica 2014]. Cycle Contraction admits an algorithm running in $\mathcal{O}^*((2 + ε_{\ell})^k)$ time where $0 < ε_{\ell} \leq 0.5509$ is inversely proportional to $\ell = n - k$. Central to these results is an algorithm for a general variant of Path Contraction, namely, Path Contraction With Constrained Ends. We also give an $\mathcal{O}^*(2.5191^n)$-time algorithm to solve the optimization version of Cycle Contraction. Next, we turn our attention to restricted graph classes and show the following results. Path Contraction on planar graphs admits a polynomial-time algorithm. Path Contraction on chordal graphs does not admit an algorithm running in time $\mathcal{O}(n^{2-ε} \cdot 2^{o(tw)})$ for any $ε> 0$, unless the Orthogonal Vectors Conjecture fails. Here, $tw$ is the treewidth of the input graph. The second result complements the $\mathcal{O}(nm)$-time, i.e., $\mathcal{O}(n^2 \cdot tw)$-time, algorithm known for the problem [Discret. Appl. Math. 2014].
