Optimizing Diameter of r-Gather under Connectivity Constraints from Convex to Connected
Abstract
The $r$-gather problem partitions the nodes of an edge-weighted graph into clusters of at least $r$ nodes each. The problem is NP-hard, and known approximation algorithms may return clusters whose induced subgraphs are disconnected. We therefore require each cluster to be connected, or even convex in the existential sense that some shortest path between any two of its members stays inside the cluster. We add a parameterized $α$-ratio-convex variant that interpolates between the two by bounding the induced stretch by a factor $α$. We measure the cost of a clustering by its diameter, the largest pairwise distance within a cluster, rather than by the radius as in the classical formulation. We show that the variants form a hierarchy, that they remain NP-hard in general, and that none of them admits a polynomial-time $(2-\varepsilon)$-approximation unless P=NP. Our main algorithmic result is a polynomial-time algorithm for convex $r$-gather on trees. This contrasts with connected $k$-diameter, which remains hard even on star-like connectivity graphs. On general weighted graphs, we give a $4$-approximation for connected $r$-gather. Extending the tree algorithm to tree decompositions, we obtain an exact algorithm for connected $r$-gather that is fixed-parameter tractable in the treewidth together with $d$ and $r$. Finally, we relate the $α$-ratio-convex variant to $t$-spanners, which yields further approximation guarantees.
- Comment
- Appears in the Proceedings of the 52nd International Conference on Current Trends in Theory and Practice of Computer Science (Sofsem 2027)