We consider several problems related to packing forests in graphs. The first one is to find $k$ edge-disjoint forests of maximum size in a directed graph $G$ such that the indegree of each vertex in these forests is at most $k$. We describe a min-max characterization for this problem and show that it can be solved in almost linear time for fixed $k$, extending the algorithm of [Gabow, 1995]. Specifically, the complexity is $O(k δm \log n)$, where $n, m$ are the numbers of vertices and edges in $G$, respectively, and $δ= \max\{1, k - k_G\}$, where $k_G$ is the edge connectivity of the graph. Using our solution to this problem, we obtain algorithms for two applications: (1) The $k$-forest problem: find $k$ forests in an undirected graph $G$ maximizing the number of edges in their union. We show how to solve this problem in $O(k^3 \min\{kn, m\} \log^2 n + k \cdot{\rm MAXFLOW}(m, m) \log n)$ time, breaking the $O_k(n^{3/2})$ complexity barrier of previously known approaches. (2) The Directed edge-connectivity augmentation problem: find a smallest set of directed edges whose addition to the given directed graph makes it strongly $k$-connected. We give a deterministic algorithm with complexity $O(k δm \log n)+T_{\rm split}$, where $T_{\rm split}$ is the time to split off one vertex in a graph with $O(m+δn)$ edges while preserving strong connectivity among the original vertices. For Eulerian directed graphs, the total complexity is $O(k δm \log n)$. A similar approach solves the undirected version of the problem in $O(k δm \log n)$ time.
翻译:暂无翻译