paper

Revisiting Path Contraction and Cycle Contraction

arXiv:2403.06290

Abstract

The Path Contraction and Cycle Contraction problems take as input an undirected graph with vertices, edges and an integer and determine whether one can obtain a path or a cycle, respectively, by performing at most edge contractions in . We revisit these NP-complete problems and prove the following results. Path Contraction admits an algorithm running in time. This improves over the current algorithm known for the problem [Algorithmica 2014]. Cycle Contraction admits an algorithm running in time where is inversely proportional to . Central to these results is an algorithm for a general variant of Path Contraction, namely, Path Contraction With Constrained Ends. We also give an -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 for any , unless the Orthogonal Vectors Conjecture fails. Here, is the treewidth of the input graph. The second result complements the -time, i.e., -time, algorithm known for the problem [Discret. Appl. Math. 2014].

Revisiting Path Contraction and Cycle Contraction · wovepaper