Belga B-trees

03/08/2019
by   Erik D. Demaine, et al.
0

We revisit self-adjusting external memory tree data structures, which combine the optimal (and practical) worst-case I/O performances of B-trees, while adapting to the online distribution of queries. Our approach is analogous to undergoing efforts in the BST model, where Tango Trees (Demaine et al. 2007) were shown to be O( N)-competitive with the runtime of the best offline binary search tree on every sequence of searches. Here we formalize the B-Tree model as a natural generalization of the BST model. We prove lower bounds for the B-Tree model, and introduce a B-Tree model data structure, the Belga B-tree, that executes any sequence of searches within a O( N) factor of the best offline B-tree model algorithm, provided B=^O(1)N. We also show how to transform any static BST into a static B-tree which is faster by a Θ( B) factor; the transformation is randomized and we show that randomization is necessary to obtain any significant speedup.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset