Abstract
We consider multiway search trees for k-dimensional search under time-varying access frequencies. Let S = {kl,...,kn} be a set of k-dimensional keys, k≥1, and let p ti be the number of accesses to ki, also called frequency of ki, up to time t, \(W^t = \sum\limits_{i = 1}^n {p_i^t }\). We present weighted (k+1)B-trees of order d, d≥1, with the following properties:
-
1.
A search for key ki can be performed in time 0(min(n,logd+1Wt/p ti )+(k−1)), i.e. the tree is always nearly optimal.
-
2.
The time for updating after a search is at most proportional to search time.
-
3.
Insertion of a new key with arbitrary frequency as well as deletion of a key with arbitrary frequency can be carried out in time 0(min(n,logd+1Wt)+(k−1)).
Preview
Unable to display preview. Download preview PDF.
References
Altenkamp, D. and Mehlhorn, K. (1980), Codes: Unequal probabilities, unequal letter costs, Journal of the ACM 27, 3 (July 1980), 412–427.
Bent, S.W., Sleator, D.D. and Tarjan, R.E. (1980), Biased 2–3 trees, Proc. 21st Annual Symposium on Foundations of Computer Science, 248–254.
Güting, H. and Kriegel, H.P. (1980), Multidimensional B-tree: An efficient dynamic file structure for exact match queries, Computer Science Technical Report No. 105, Universität Dortmund, also in: GI — lo. Jahrestagung, Informatik Fachberichte Band 33, 375–388, Springer-Verlag, Berlin-Heidelberg-New York.
Knuth, D.E. (1971), Optimum binary search trees, Acta Informatica 1 (1971), 14–25.
Knuth, D.E. (1973), The art of computer programming, Vol. III: Sorting and searching, Addison-Wesley, Reading, MA.
Mehlhorn, K. (1978), Arbitrary weight changes in dynamic trees, Bericht 78/04, Fachbereich lo — Informatik, Universität des Saarlandes, Saarbrücken.
Mehlhorn, K. (1979), Dynamic binary search, SIAM J. COMPUTING 8,2 (May 1979), 175–198.
Vaishnavi, V.K., Kriegel, H.P. and Wood, D. (1980), Optimum multiway search trees, Acta Informatica 14 (1980), 119–133.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1981 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Güting, H., Kriegel, H.P. (1981). Dynamic k-dimensional multiway search under time-varying access frequencies. In: Deussen, P. (eds) Theoretical Computer Science. Lecture Notes in Computer Science, vol 104. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0017305
Download citation
DOI: https://doi.org/10.1007/BFb0017305
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-10576-3
Online ISBN: 978-3-540-38561-5
eBook Packages: Springer Book Archive