The Complexity of Tree Partitioning

Given a tree T on n vertices, and $$k, b, s_1, \ldots , s_b \in \mathbb {N}$$ k , b , s 1 , … , s b ∈ N , the Tree Partitioning  problem asks if at most k edges can be removed from T so that the resulting components can be grouped into b groups such that the number of vertices in group i is $$s_i$$ s i , for $$i =1, \ldots , b$$ i = 1 , … , b . The case where $$s_1=\cdots =s_b =n/b$$ s 1 = ⋯ = s b = n / b , referred to as the Balanced Tree Partitioning  problem, was shown to be $${\mathcal {NP}}$$ NP -complete for trees of maximum degree at most 5, and the complexity of the problem for trees of maximum degree 4 and 3 was posed as an open question. The parameterized complexity of Balanced Tree Partitioning  was also posed as an open question in another work. In this paper, we answer both open questions negatively. We show that Balanced Tree Partitioning  (and hence, Tree Partitioning ) is $${\mathcal {NP}}$$ NP -complete for trees of maximum degree 3, thus closing the door on the complexity of Balanced Tree Partitioning , as the simple case when T is a path is in $${\mathcal {P}}$$ P . In terms of the parameterized complexity of the problems, we show that both Balanced Tree Partitioning  and Tree Partitioning  are W [1]-complete parameterized by k . Using a compact representation of the solution space for an instance of the problem, we present a dynamic programming algorithm for the weighted version of Tree Partitioning  (and hence for that of Balanced Tree Partitioning ) that runs in subexponential-time $$2^{O(\sqrt{n})}$$ 2 O ( n ) , adding a natural problem to the list of problems that can be solved in subexponential time. Finally, we extend this subexponential-time algorithm to the Weighted Graph Partitioning problem on graphs of treewidth $$o(n/\lg {n})$$ o ( n / lg n ) , and we also show an application of this subexponential-time algorithm for approximating the Weighted Graph Partitioning problem.

[1]  Stefan Kratsch,et al.  Deterministic single exponential time algorithms for connectivity problems parameterized by treewidth , 2013, Inf. Comput..

[2]  Dimitrios M. Thilikos,et al.  Invitation to fixed-parameter algorithms , 2007, Comput. Sci. Rev..

[3]  Peter Widmayer,et al.  An O(n^4) time algorithm to compute the bisection width of solid grid graphs , 2011 .

[4]  L BodlaenderHans,et al.  Deterministic single exponential time algorithms for connectivity problems parameterized by treewidth , 2015 .

[5]  Fahad Panolan,et al.  Subexponential Algorithms for Rectilinear Steiner Tree and Arborescence Problems , 2020, SoCG.

[6]  Harald Räcke,et al.  Improved Approximation Algorithms for Balanced Partitioning Problems , 2016, STACS.

[7]  Philip N. Klein,et al.  A subexponential parameterized algorithm for Subset TSP on planar graphs , 2014, SODA.

[8]  Peter Widmayer,et al.  An $$O(n^4)$$O(n4) Time Algorithm to Compute the Bisection Width of Solid Grid Graphs , 2014, Algorithmica.

[9]  Peter Widmayer,et al.  An $\mathcal{O}(n^4)$ Time Algorithm to Compute the Bisection Width of Solid Grid Graphs , 2011, ESA.

[10]  Xin-She Yang,et al.  Introduction to Algorithms , 2021, Nature-Inspired Optimization Algorithms.

[11]  Harald Räcke,et al.  Optimal hierarchical decompositions for congestion minimization in networks , 2008, STOC.

[12]  Erik D. Demaine,et al.  Subexponential parameterized algorithms on bounded-genus graphs and H-minor-free graphs , 2005, JACM.

[13]  Luca Foschini,et al.  Balanced Partitions of Trees and Applications , 2012, Algorithmica.

[14]  Klaus Jansen,et al.  Bin packing with fixed number of bins revisited , 2013, J. Comput. Syst. Sci..

[15]  Peter Arbenz,et al.  Multi-level mu -Finite Element Analysis for Human Bone Structures , 2006, PARA.

[16]  Michael R. Fellows,et al.  Fundamentals of Parameterized Complexity , 2013 .

[17]  Frank Thomson Leighton,et al.  A Framework for Solving VLSI Graph Layout Problems , 1983, J. Comput. Syst. Sci..

[18]  Jörg Flum,et al.  Parameterized Complexity Theory , 2006, Texts in Theoretical Computer Science. An EATCS Series.

[19]  Konstantin Andreev,et al.  Balanced Graph Partitioning , 2004, SPAA '04.

[20]  Charles H. Jones GENERALIZED HOCKEY STICK IDENTITIES AND iV-DIMENSIONAL BLOCKWALKING , 1994 .

[21]  Yijia Chen,et al.  Machine-based methods in parameterized complexity theory , 2005, Theor. Comput. Sci..

[22]  Ge Xia,et al.  Genus characterizes the complexity of certain graph problems: Some tight results , 2007, J. Comput. Syst. Sci..

[23]  Krzysztof Pietrzak,et al.  On the parameterized complexity of the fixed alphabet shortest common supersequence and longest common subsequence problems , 2003, J. Comput. Syst. Sci..

[24]  Aleksander Madry,et al.  Fast Approximation Algorithms for Cut-Based Problems in Undirected Graphs , 2010, 2010 IEEE 51st Annual Symposium on Foundations of Computer Science.

[25]  René van Bevern,et al.  On the Parameterized Complexity of Computing Balanced Partitions in Graphs , 2013, Theory of Computing Systems.

[26]  Jitendra Malik,et al.  Normalized cuts and image segmentation , 1997, Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition.

[27]  Á. P. Bosznay,et al.  On the lower estimation of non-averaging sets , 1989 .

[28]  Robert Malcolm Macgregor,et al.  On partitioning a graph: a theoretical and empirical study. , 1978 .

[29]  Michal Pilipczuk,et al.  Parameterized Algorithms , 2015, Springer International Publishing.

[30]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[31]  Michal Pilipczuk,et al.  A ck n 5-Approximation Algorithm for Treewidth , 2016, SIAM J. Comput..

[32]  Richard M. Leahy,et al.  An Optimal Graph Theoretic Approach to Data Clustering: Theory and Its Application to Image Segmentation , 1993, IEEE Trans. Pattern Anal. Mach. Intell..

[33]  Michael R. Fellows,et al.  On the parameterized complexity of multiple-interval graph problems , 2009, Theor. Comput. Sci..

[34]  G. Hardy,et al.  Asymptotic Formulaæ in Combinatory Analysis , 1918 .

[35]  Ton Kloks Treewidth, Computations and Approximations , 1994, Lecture Notes in Computer Science.

[36]  G. Hardy,et al.  Asymptotic formulae in combinatory analysis , 1918 .

[37]  Andrew V. Goldberg,et al.  Customizable Route Planning , 2011, SEA.