DocumentCode :
180755
Title :
Dynamic Integer Sets with Optimal Rank, Select, and Predecessor Search
Author :
Patrascu, Monica ; Thorup, Mikkel
fYear :
2014
fDate :
18-21 Oct. 2014
Firstpage :
166
Lastpage :
175
Abstract :
We present a data structure representing a dynamic set S of w-bit integers on a w-bit word RAM. With S = n and w ≥ logn and space O(n), we support the following standard operations in O(log n/ log w) time: . insert(x) sets S = S ∪ {x}. .delete(x) sets S = S {x}. . predecessor(x) returns max{y ∈ S y <; x}. . successor(x) returns min{y ∈ S y ≥ x}. . rank(x) returns # {y ∈ S y <; x}. . select(i) returns y ∈ S with rank(y) = i, if any. Our O (log n/ log w) bound is optimal for dynamic rank and select, matching a lower bound of Fredman and Saks [STOC´99]. When the word length is large, our time bound is also optimal for dynamic predecessor, matching a static lower bound of Beame and Fich [STOC´ 99] whenever log n/ log w = O (log w/ log log w). Technically, the most interesting aspect of our data structure is that it supports all the above operations in constant time for sets of size n = wO(1). This resolves a main open problem of Ajtai, Komlos, and Fredman [FOCS´83]. Ajtai et al. presented such a data structure in Yao´s abstract cell-probe model with w-bit cells/words, but pointed out that the functions used could not be implemented. As a partial solution to the problem, Fredman and Willard [STOC´90] introduced a fusion node that could handle queries in constant time, but used polynomial time on the updates. We call our small set data structure a dynamic fusion node as it does both queries and updates in constant time.
Keywords :
computational complexity; data structures; random-access storage; data structure; dynamic fusion node; dynamic integer sets; dynamic predecessor; optimal rank; polynomial time; predecessor search; w-bit integers; w-bit word RAM; Computational modeling; Data structures; Indexes; Polynomials; Probes; Random access memory; Standards; dynamic data structures; integer data structures;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Foundations of Computer Science (FOCS), 2014 IEEE 55th Annual Symposium on
Conference_Location :
Philadelphia, PA
ISSN :
0272-5428
Type :
conf
DOI :
10.1109/FOCS.2014.26
Filename :
6979001
Link To Document :
بازگشت