English

Constant-Time Dynamic Weight Approximation for Minimum Spanning Forest

Data Structures and Algorithms 2021-09-29 v2

Abstract

We give two fully dynamic algorithms that maintain a (1+ε)(1+\varepsilon)-approximation of the weight MM of a minimum spanning forest (MSF) of an nn-node graph GG with edges weights in [1,W][1,W], for any ε>0\varepsilon>0. (1) Our deterministic algorithm takes O(W2logW/ε3)O({W^2 \log W}/{\varepsilon^3}) worst-case update time, which is O(1)O(1) if both WW and ε\varepsilon are constants. Note that there is a lower bound by Patrascu and Demaine (SIAM J. Comput. 2006) which shows that it takes Ω(logn)\Omega(\log n) time per operation to maintain the exact weight of an MSF that holds even in the unweighted case, i.e. for W=1W=1. We further show that any deterministic data structure that dynamically maintains the (1+ε)(1+\varepsilon)-approximate weight of an MSF requires super constant time per operation, if W(logn)ωn(1)W\geq (\log n)^{\omega_n(1)}. (2) Our randomized (Monte-Carlo style) algorithm works with high probability and runs in worst-case O(logW/ε4)O(\log W/ \varepsilon^{4}) update time if W=O((m)1/6/log2/3n)W= O({(m^*)^{1/6}}/{\log^{2/3} n}), where mm^* is the minimum number of edges in the graph throughout all the updates. It works even against an adaptive adversary. This implies a randomized algorithm with worst-case o(logn)o(\log n) update time, whenever W=min{O((m)1/6/log2/3n),2o(logn)}W=\min\{O((m^*)^{1/6}/\log^{2/3} n), 2^{o({\log n})}\} and ε\varepsilon is constant. We complement this result by showing that for any constant ε,α>0\varepsilon,\alpha>0 and W=nαW=n^{\alpha}, any (randomized) data structure that dynamically maintains the weight of an MSF of a graph GG with edge weights in [1,W][1,W] and W=Ω(εm)W = \Omega(\varepsilon m^*) within a multiplicative factor of (1+ε)(1+\varepsilon) takes Ω(logn)\Omega(\log n) time per operation.

Keywords

Cite

@article{arxiv.2011.00977,
  title  = {Constant-Time Dynamic Weight Approximation for Minimum Spanning Forest},
  author = {Monika Henzinger and Pan Peng},
  journal= {arXiv preprint arXiv:2011.00977},
  year   = {2021}
}

Comments

Partial results have been reported in arXiv:1907.04745

R2 v1 2026-06-23T19:50:53.427Z