计算机科学 > 数据结构与算法
[提交于 2026年5月5日]
标题:An Optimal Algorithm for Cardinality-Constrained Diameter Partitioning
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Cardinality-constrained diameter partitioning asks for a partition of $n$ items into two classes of prescribed sizes that minimizes the larger of the two class diameters. We give an $O(n^2)$ algorithm and a matching $\Omega(n^2)$ lower bound if we can only query the weight between two elements. The algorithm computes the optimum for every cardinality simultaneously, improving Avis's $O(n^2\log n)$. The reduction is to a bottleneck 2-coloring problem on the maximum spanning tree, solved by a standard tree DP. For a single cardinality with Euclidean weights, we obtain a subquadratic time algorithm in any fixed dimension.
提交历史
来自:Chao Xu[v1] 2026年5月5日 星期二 07:12:26 UTC