Revisiting Path Contraction and Cycle Contraction
摘要
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. 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. 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].