Abstract
We present a new threshold phenomenon in data structure lower bounds where slightly reduced update times lead to exploding query times. Consider incremental connectivity, letting tu be the time to insert an edge and tq be the query time. For tu = Omega(tq), the problem is equivalent to the well-understood union-find problem: proc{InsertEdge}(s,t) can be implemented by Union(Find(s), Find(t)). This gives worst-case time tu = tq = O(lg n / lg lg n) and amortized tu = tq = O(α(n)). By contrast, we show that if tu = o(lg n / lg lg n), the query time explodes to tq ≥ n1-o(1). In other words, if the data structure doesn't have time to find the roots of each disjoint set (tree) during edge insertion, there is no effective way to organize the information! For amortized complexity, we demonstrate a new inverse-Ackermann type trade-off in the regime tu = o(tq). A similar lower bound is given for fully dynamic connectivity, where an update time of o(lg n) forces the query time to be n 1-o(1). This lower bound allows for amortization and Las Vegas randomization, and comes close to the known O(lg n · (lg lg n) O(1)) upper bound.
Original language | English |
---|---|
Title of host publication | Proceedings of the forty-third annual ACM symposium on Theory of computing |
Number of pages | 9 |
Publisher | Association for Computing Machinery |
Publication date | 2011 |
Pages | 559-567 |
ISBN (Print) | 978-1-4503-0691-1 |
DOIs | |
Publication status | Published - 2011 |
Externally published | Yes |
Event | 43rd ACM Symposium on Theory of Computing - San Jose, California, United States Duration: 6 Jun 2011 → 8 Jun 2011 Conference number: 43 |
Conference
Conference | 43rd ACM Symposium on Theory of Computing |
---|---|
Number | 43 |
Country/Territory | United States |
City | San Jose, California |
Period | 06/06/2011 → 08/06/2011 |