English

Trade-offs in dynamic coloring for bipartite and general graphs

Data Structures and Algorithms 2020-02-28 v3

Abstract

We present trade-offs in the incremental and fully dynamic settings to maintian a proper coloring. For any fully dynamic 22-coloring algorithm, the maximum of the update time, number of recolorings, and query time is Ω(logn)\Omega(\log n). We present a deterministic fully dynamic 22-coloring algorithm with O(log2n)O(\log^2 n) amortized update time, O(logn)O(\log n) amortized query time, and one recoloring in the worst case. For any incremental 22-coloring algorithm which explicitly maintains the color of every vertex after each update, the amortized update time and the amortized number of recolorings is Ω(logn)\Omega(\log n). For such an algorithm, in the worst case the update time and the number of recolorings is Ω(n)\Omega(n). We then design a deterministic incremental 22-coloring algorithm which explicitly maintains the color of every vertex after each update, with amortized O(logn)O(\log n) update time and amortized O(logn)O(\log n) many recolorings. Further, in the worst case the update time and the number of recolorings is O(n)O(n). Further, we present a deterministic incremental (1+2logn)(1+2 \log n)-coloring algorithm which explicitly maintains the color of every vertex after each update, with O(α(n))O(\alpha(n)) amortized update time, at most one recoloring and O(1)O(1) query time. We then show a deterministic incremental 22-coloring algorithm which does not maintain color of every vertex after each update, with amortized O(α(n))O(\alpha(n)) update time, amortized O(α(n))O(\alpha(n)) recolorings, and amortized O(α(n))O(\alpha(n)) query time. For general graphs and graphs of bounded arboricity γ\gamma and maximum degree Δ\Delta we present a deterministic (Δ+1)(\Delta+1)-coloring algorithm with O(m)O(\sqrt{m}) update time, O(1)O(1) query time, and one recoloring. Finally, we show a deterministic (Δ+1)(\Delta+1)-coloring algorithm with amortized O(γ+logn)O(\gamma + \log{n}) update time, O(1)O(1) query time, and one recoloring.

Keywords

Cite

@article{arxiv.1909.07854,
  title  = {Trade-offs in dynamic coloring for bipartite and general graphs},
  author = {Manas Jyoti Kashyop and N. S. Narayanaswamy and Meghana Nasre and Sai Mohith Potluri},
  journal= {arXiv preprint arXiv:1909.07854},
  year   = {2020}
}