Online List Labeling: Breaking the log2 n Barrier

被引:3
作者
Bender, Michael A. [1 ]
Conway, Alex [2 ]
Farach-Colton, Martin [3 ]
Komlos, Hanna [3 ]
Kuszmaul, William [4 ]
Wein, Nicole [5 ]
机构
[1] SUNY Stony Brook, Stony Brook, NY 11794 USA
[2] VMWare Res, New York, NY USA
[3] Rutgers State Univ, New Brunswick, NJ USA
[4] MIT, Cambridge, MA 02139 USA
[5] DIMACS, Washington, DC USA
来源
2022 IEEE 63RD ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS) | 2022年
关键词
D O I
10.1109/FOCS54457.2022.00096
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The online list-labeling problem is an algorithmic primitive with a large literature of upper bounds, lower bounds, and applications. The goal is to store a dynamically-changing set of n items in an array ofmslots, while maintaining the invariant that the items appear in sorted order, and while minimizing the relabeling cost, defined to be the number of items that are moved per insertion/deletion. For the linear regime, where m = (1 + Theta(1))n, an upper bound of O(log(2) n) on the relabeling cost has been known since 1981. A lower bound of Omega(log(2) n) is known for deterministic algorithms and for so-called smooth algorithms, but the best general lower bound remains Omega(log n). The central open question in the field is whether O(log(2) n) is optimal for all algorithms. In this paper, we give a randomized data structure that achieves an expected relabeling cost of O(log(3/2) n) per operation. More generally, if m = (1+ epsilon)n for epsilon = O(1), the expected relabeling cost becomes O(epsilon(-1) log(3/2) n). Our solution is history independent, meaning that the state of the data structure is independent of the order in which items are inserted/deleted. For history-independent data structures, we also prove a matching lower bound: for all epsilon between 1/n(1/3) and some sufficiently small positive constant, the optimal expected cost for history-independent list-labeling solutions is Theta(epsilon(-1) log(3/2) n).
引用
收藏
页码:980 / 990
页数:11
相关论文
共 57 条
[41]  
Micciancio Daniele., 1997, STOC 97, P456
[42]  
Naor M, 2008, LECT NOTES COMPUT SC, V5126, P631, DOI 10.1007/978-3-540-70583-3_51
[43]  
Nievergelt J., 1973, SIAM Journal on Computing, V2, P33, DOI 10.1137/0202005
[44]  
Nievergelt J., 1972, P 4 ANN ACM S THEORY, P137
[45]   Terrace: A Hierarchical Graph Container for Skewed Dynamic Graphs [J].
Pandey, Prashant ;
Wheatman, Brian ;
Xu, Helen ;
Buluc, Aydin .
SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2021, :1372-1385
[46]  
Raman V., 1999, Proceedings of the Eighteenth ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, P337, DOI 10.1145/303976.304009
[47]   Online Labeling: Algorithms, Lower Bounds and Open Questions [J].
Saks, Michael .
COMPUTER SCIENCE - THEORY AND APPLICATIONS, CSR 2018, 2018, 10846 :23-28
[48]   Randomized search trees [J].
Seidel, R ;
Aragon, CR .
ALGORITHMICA, 1996, 16 (4-5) :464-497
[49]   RANDOM SAMPLING WITH A RESERVOIR [J].
VITTER, JS .
ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 1985, 11 (01) :37-57
[50]   Streaming Sparse Graphs using Efficient Dynamic Sets [J].
Wheatman, Brian ;
Burns, Randal .
2021 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2021, :284-294