English

Faster algorithms for packing forests in graphs and related problems

Data Structures and Algorithms 2026-01-26 v3

Abstract

We consider several problems related to packing forests in graphs. The first one is to find kk edge-disjoint forests in a directed graph GG of maximal size such that the indegree of each vertex in these forests is at most kk. We describe a min-max characterization for this problem and show that it can be solved in almost linear time for fixed kk, extending the algorithm of [Gabow, 1995]. Specifically, the complexity is O(kδmlogn)O(k \delta m \log n), where n,mn, m are the number of vertices and edges in GG respectively, and δ=max{1,kkG}\delta = \max\{1, k - k_G\}, where kGk_G is the edge connectivity of the graph. Using our solution to this problem, we improve complexities for two existing applications: (1) kk-forest problem: find kk forests in an undirected graph GG maximizing the number of edges in their union. We show how to solve this problem in O(k3min{kn,m}log2n+kMAXFLOW(m,m)logn)O(k^3 \min\{kn, m\} \log^2 n + k \cdot{\rm MAXFLOW}(m, m) \log n) time, breaking the Ok(n3/2)O_k(n^{3/2}) complexity barrier of previously known approaches. (2) Directed edge-connectivity augmentation problem: find a smallest set of directed edges whose addition to the given directed graph makes it strongly kk-connected. We improve the deterministic complexity for this problem from O(kδ(m+δn)logn)O(k \delta (m+\delta n)\log n) [Gabow, STOC 1994] to O(kδmlogn)O(k \delta m \log n). A similar approach with the same complexity also works for the undirected version of the problem.

Keywords

Cite

@article{arxiv.2409.20314,
  title  = {Faster algorithms for packing forests in graphs and related problems},
  author = {Pavel Arkhipov and Vladimir Kolmogorov},
  journal= {arXiv preprint arXiv:2409.20314},
  year   = {2026}
}

Comments

arXiv admin note: substantial text overlap with arXiv:2409.14881

R2 v1 2026-06-28T19:02:21.435Z