The 2-Disjoint Connected Subgraphs problem asks if a given graph has two vertex-disjoint connected subgraphs containing pre-specified sets of vertices. We show that this problem is NP-complete even if one of the sets has cardinality 2. The Longest Path Contractibility problem asks for the largest integer ℓ for which an input graph can be contracted to the path P ℓ on ℓ vertices. We show that the computational complexity of the Longest Path Contractibility problem restricted to P ℓ-free graphs jumps from being polynomially solvable to being NP-hard at ℓ = 6, while this jump occurs at ℓ = 5 for the 2-Disjoint Connected Subgraphs problem. We also present an exact algorithm that solves the 2-Disjoint Connected Subgraphs problem faster than O*(2n) for any n-vertex P ℓ-free graph. For ℓ = 6, its running time is O*(1.5790n). We modify this algorithm to solve the Longest Path Contractibility problem for P 6-free graphs in O*(1.5790 n) time. © 2009 Springer.
CITATION STYLE
Van’t Hof, P., Paulusma, D., & Woeginger, G. J. (2009). Partitioning graphs into connected parts. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 5675 LNCS, pp. 143–154). https://doi.org/10.1007/978-3-642-03351-3_15
Mendeley helps you to discover research relevant for your work.