English

Dynamic Edge Coloring of Forests

Data Structures and Algorithms 2026-05-12 v1

Abstract

In the \emph{dynamic edge coloring} problem, one has to maintain a graph of maximum degree Δ\Delta with at most Δ+c\Delta+c colors, given updates to the edges of the graph. An important objective is to minimize the \emph{recourse}, which is the number of edges being recolored. We study this problem on forests, which is a natural yet nontrivial restriction of the problem. We consider the problem in both \emph{incremental} (edges are only inserted) and \emph{fully dynamic} (edges may be deleted) models. In the deterministic setting, we show that the natural greedy algorithm achieves O(1c+Δ)O(\frac{1}{c + \sqrt{\Delta}}) amortized recourse in the incremental model, and this is tight up to tie-breaking. In contrast, in a fully dynamic forest, greedy can be forced to have Ω(logΔn)\Omega(\log_\Delta n) amortized recourse. To partially alleviate this limitation of greedy, we show an optimal non-greedy algorithm with O(1)O(1) amortized recourse for \emph{rooted} fully dynamic forests and c=Δ2c = \Delta - 2. In the randomized setting, we give a natural distribution-maintaining algorithm that achieves Θ(1Δ)\Theta(\frac{1}{\Delta}) expected amortized recourse in the incremental model and Θ(min{Δc,logΔn})\Theta(\min \{ \frac{\Delta}{c}, \log_{\Delta} n \}) expected recourse in the dynamic model. These randomized results are optimal for c=0c=0.

Keywords

Cite

@article{arxiv.2605.09711,
  title  = {Dynamic Edge Coloring of Forests},
  author = {Haim Kaplan and David Naori and Yaniv Sadeh},
  journal= {arXiv preprint arXiv:2605.09711},
  year   = {2026}
}
R2 v1 2026-07-22T07:02:37.280Z