English

Sum-of-Max Chain Partition of a Tree

Data Structures and Algorithms 2025-03-17 v1

Abstract

Path partition problems on trees have found various applications. In this paper, we present an O(nlogn)O(n \log n) time algorithm for solving the following variant of path partition problem: given a rooted tree of nn nodes 1,,n1, \ldots, n, where vertex ii is associated with a weight wiw_i and a cost sis_i, partition the tree into several disjoint chains C1,,CkC_1,\ldots,C_k, so that the weight of each chain is no more than a threshold w0w_0 and the sum of the largest sis_i in each chain is minimized. We also generalize the algorithm to the case where the cost of a chain is determined by the sis_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 sis_i.

Keywords

Cite

@article{arxiv.2503.11526,
  title  = {Sum-of-Max Chain Partition of a Tree},
  author = {Ruixi Luo and Taikun Zhu and Kai Jin},
  journal= {arXiv preprint arXiv:2503.11526},
  year   = {2025}
}