Nothing Special   »   [go: up one dir, main page]

skip to main content
10.5555/1109557.1109600acmconferencesArticle/Chapter ViewAbstractPublication PagessodaConference Proceedingsconference-collections
Article

O(log log n)-competitive dynamic binary search trees

Published: 22 January 2006 Publication History

Abstract

The Dynamic Optimality Conjecture [ST85] states that splay trees are competitive (within a constant competitive factor) among the class of all binary search tree (BST) algorithms. Despite 20 years of research this conjecture is still unresolved. Recently, Demaine et al. [DHIP04] suggested searching for alternative algorithms which have small but non-constant competitive factors. They proposed Tango, a BST algorithm which is nearly dynamically optimal - its competitive ratio is O(log log n) instead of a constant. Unfortunately, for many access patterns, such as random and sequential, Tango is worse than other BST algorithms by a factor of log log n.In this paper, we introduce the multi-splay tree (MST) data structure, which is the first O(log log n)-competitive BST to simultaneously achieve O(log n) amortized cost and O(log2 n) worst-case cost per query. We also prove the sequential access lemma for MSTs, which states that sequentially accessing all keys takes linear time. Thus, MSTs are O(log log n)-competitive like Tango but, unlike Tango, require only O(log n) amortized time per access in an arbitrary sequence and only O(1) amortized time per access during a sequential access sequence.Furthermore, we generalize the standard framework for competitive analysis of BST algorithms to include updates (insertions and deletions) in addition to queries. In doing so, we extend the lower bound of Wilber [Wil89] and Demaine et al. [DHIP04] to handle these update operations. We show how MSTs can be modified to support these update operations and be O(log log n)-competitive in the new framework while maintaining the rest of the properties above.

References

[1]
{BCK02} Avrim Blum, Shuchi Chawla, and Adam Kalai. Static optimality and dynamic search-optimality in lists and trees. Proceedings of the 13th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 1--8, 2002.
[2]
{CMSS00} Richard Cole, Bud Mishra, Jeanette Schmidt, and Alan Siegel. On the dynamic finger conjecture for splay trees. Part I: Splay Sorting log n-Block Sequences. Siam J. Comput., 30:1--43, 2000.
[3]
{Col00} Richard Cole. On the dynamic finger conjecture for splay trees. Part II: The Proof. Siam J. Comput., 30:44--85, 2000.
[4]
{CW82} K. Culik, II and D. Wood. A note on some tree similarity measures. Inform. Process. Lett., pages 39--42, 1982.
[5]
{DHIP04} Erik D. Demaine, Dion Harmon, John Iacono, and Mihai Pǎtraşcu. Dynamic Optimality-Almost. FOCS, 2004.
[6]
{Elm04} Amr Elmasry. On the sequential access theorem and deque conjecture for splay trees. Theoretical Computer Science, 314:459--466, 2004.
[7]
{GS78} L. J. Guibas and R. Sedgewick. A dichromatic framework for balanced trees. Nineteenth Annual IEEE Symposium on Foundations of Computer Science, pages 8--12, 1978.
[8]
{ST85} Daniel Dominic Sleator and Robert Endre Tarjan. Self-adjusting binary search trees. Journal of the ACM, 32(3):652--686, July 1985.
[9]
{STT86} D. D. Sleator, R. E. Tarjan, and W. P. Thurston. Rotation distance, triangulations, and hyperbolic geometry. Proc. 18th Annual ACM Symposium on Theory of Computing, pages 122--135, 1986.
[10]
{Sun89} R. Sundar. Twists, turns, cascades, deque conjecture, and scanning theorem. Proceedings of the 13th Symposium on Foundations of Computer Science, pages 555--559, 1989.
[11]
{Sun92} R. Sundar. On the deque conjecture for the splay algorithm. Combinatorica, 12:95--124, 1992.
[12]
{Tar83} Robert Endre Tarjan. Data structures and network algorithms. Society for Industrial and Applied Mathematics, 1983.
[13]
{Tar85} R. Tarjan. Sequential access in splay trees takes linear time. Combinatorica, 5:367--378, 1985.
[14]
{Wil89} Robert Wilber. Lower bounds for accessing binary search trees with rotations. SIAM Journal on Computing, 18(1):56--67, 1989.

Cited By

View all
  • (2018)Smooth heaps and a dual view of self-adjusting data structuresProceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing10.1145/3188745.3188864(801-814)Online publication date: 20-Jun-2018
  • (2017)Practical adaptive search trees with performance boundsProceedings of the Australasian Computer Science Week Multiconference10.1145/3014812.3014836(1-8)Online publication date: 30-Jan-2017
  • (2016)SplayNetIEEE/ACM Transactions on Networking10.1109/TNET.2015.241031324:3(1421-1433)Online publication date: 1-Jun-2016
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SODA '06: Proceedings of the seventeenth annual ACM-SIAM symposium on Discrete algorithm
January 2006
1261 pages
ISBN:0898716055

Sponsors

Publisher

Society for Industrial and Applied Mathematics

United States

Publication History

Published: 22 January 2006

Check for updates

Qualifiers

  • Article

Acceptance Rates

Overall Acceptance Rate 411 of 1,322 submissions, 31%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)9
  • Downloads (Last 6 weeks)0
Reflects downloads up to 24 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2018)Smooth heaps and a dual view of self-adjusting data structuresProceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing10.1145/3188745.3188864(801-814)Online publication date: 20-Jun-2018
  • (2017)Practical adaptive search trees with performance boundsProceedings of the Australasian Computer Science Week Multiconference10.1145/3014812.3014836(1-8)Online publication date: 30-Jan-2017
  • (2016)SplayNetIEEE/ACM Transactions on Networking10.1109/TNET.2015.241031324:3(1421-1433)Online publication date: 1-Jun-2016
  • (2012)A self-adjusting data structure for multidimensional point setsProceedings of the 20th Annual European conference on Algorithms10.1007/978-3-642-33090-2_67(778-789)Online publication date: 10-Sep-2012
  • (2012)De-amortizing binary search treesProceedings of the 39th international colloquium conference on Automata, Languages, and Programming - Volume Part I10.1007/978-3-642-31594-7_11(121-132)Online publication date: 9-Jul-2012
  • (2011)Upper bounds for maximally greedy binary search treesProceedings of the 12th international conference on Algorithms and data structures10.5555/2033190.2033225(411-422)Online publication date: 15-Aug-2011
  • (2010)An O(log log n)-competitive binary search tree with optimal worst-case access timesProceedings of the 12th Scandinavian conference on Algorithm Theory10.1007/978-3-642-13731-0_5(38-49)Online publication date: 21-Jun-2010
  • (2009)The geometry of binary search treesProceedings of the twentieth annual ACM-SIAM symposium on Discrete algorithms10.5555/1496770.1496825(496-505)Online publication date: 4-Jan-2009
  • (2008)Splay trees, Davenport-Schinzel sequences, and the deque conjectureProceedings of the nineteenth annual ACM-SIAM symposium on Discrete algorithms10.5555/1347082.1347204(1115-1124)Online publication date: 20-Jan-2008
  • (2008)Dynamic optimality for skip lists and B-treesProceedings of the nineteenth annual ACM-SIAM symposium on Discrete algorithms10.5555/1347082.1347203(1106-1114)Online publication date: 20-Jan-2008
  • Show More Cited By

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media