arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.11526cs.DS
收藏

树的最大和链划分

Sum-of-Max Chain Partition of a Tree

Ruixi Luo, Taikun Zhu, Kai Jin

AI总结:

针对带权与代价的有根树,本文提出 O(n log n) 链划分算法,在链权重不超过 w_0 的约束下最小化各链最大 s_i 之和,并推广到任意全序定义最高秩的情形。

摘要:

树上的路径划分问题已在诸多领域得到应用。本文提出一种时间复杂度为 O(n log n) 的算法,用于求解如下路径划分问题的变体:给定一棵包含 n 个节点 1,…,n 的有根树,其中顶点 i 关联一个权重 w_i 和一个代价 s_i,要求将树划分为若干互不相交的链 C_1,…,C_k,使每条链的权重不超过阈值 w_0,并最小化每条链中最大 s_i 之和。我们还将该算法推广到链的代价由链中秩最高顶点的 s_i 决定的情形;该秩可由定义在所有节点上的任意全序确定,而不必依据 s_i 的值。

英文摘要:

Path partition problems on trees have found various applications. In this paper, we present an $O(n \log n)$ time algorithm for solving the following variant of path partition problem: given a rooted tree of $n$ nodes $1, \ldots, n$, where vertex $i$ is associated with a weight $w_i$ and a cost $s_i$, partition the tree into several disjoint chains $C_1,\ldots,C_k$, so that the weight of each chain is no more than a threshold $w_0$ and the sum of the largest $s_i$ in each chain is minimized. We also generalize the algorithm to the case where the cost of a chain is determined by the $s_i$ of the vertex with the highest rank in the chain, which can be determined by an arbitrary total order defined on all nodes instead of the value of $s_i$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑