Constant-Time Dynamic (Δ+1)-Coloring and Weight Approximation for Minimum Spanning Forest: Dynamic Algorithms Meet Property Testing

07/10/2019
by   Monika Henzinger, et al.
0

With few exceptions (namely, algorithms for maximal matching, 2-approximate vertex cover, and certain constant-stretch spanners), all known fully dynamic algorithms in general graphs require (amortized) Ω( n) update/query time. Showing for the first time that techniques from property testing can lead to constant-time fully dynamic graph algorithms we prove the following results: (1) We give a fully dynamic (Las-Vegas style) algorithm with constant expected amortized time per update that maintains a proper (Δ+1)-vertex coloring of a graph with maximum degree at most Δ. This improves upon the previous O(Δ)-time algorithm by Bhattacharya et al. (SODA 2018). We show that our result does not only have optimal running time, but is also optimal in the sense that already deciding whether a Δ-coloring exists in a dynamically changing graph with maximum degree at most Δ takes Ω( n) time per operation. (2) We give two fully dynamic algorithms that maintain a (1+ε)-approximation of the weight M of the minimum spanning forest of a graph G with edges weights in [1,W]. Our deterministic algorithm takes O(W^2 W/ε^3) worst-case time, which is constant if both W and ε are constant. This is somewhat surprising as a lower bound by Patrascu and Demaine (SIAM J. Comput. 2006) shows that it takes Ω( n) time per operation to maintain the exact weight of the MSF that holds even for W=1. Our randomized (Monte-Carlo style) algorithm works with high probability and runs in worst-case O(1/ε^4^2(1/ε)) time if W= O((m^*)^1/3/^3 n), where m^* is the minimum number of edges in the graph throughout all the updates. It works even against an adaptive adversary.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset