Abstract
This paper analyzes the average behaviour of algorithms that operate on dynamically varying data structures subject to insertions I, deletions D, positive (resp. negative) queries Q+ (resp.Q−) under the following assumptions:
-
i)
the universe of keys is finite: U [N]={1, 2, 3,..., N}
-
ii)
if the size of the data structure is k (k≤N), then the number of possibilities for the operations D and Q+ is k, whereas the number of possibilities for the i-th insertion or negative query is equal to N-i+1 for i≤N.
Integrated costs for these dynamic structures are defined as averages of costs taken over the set of all their possible histories (i.e. evolutions considered up to order isomorphism) of length n. We show that the costs can be explicitely calculated for the data structures serving as implementations of linear lists, priority queues and dictionaries. Letting N→∞ we recover the results proved in [9], [10] for an infinite universe of keys (this is not obvious) and we prove also that Knuth's model can be defined as limit model of the model considered here. The method uses continued fractions and orthogonal polynomials techniques like in [10].
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
L.Chéno Profils limites d'histoires sur les dictionnaires et les files de priorité.Application aux files binomiales.Thèse de 3ème cycle. Université Paris Sud, 1981.
L.Chéno, P.Flajolet, J.Françon, C.Puech, J.Vuillemin Finite files, limiting profiles and variance analysis. Proceedings 18th Allerton Conf. on Com. Control and Computing (Illinois 1980).
P.Flajolet,J.Françon Structures de données dynamiques en réservoir borné.Actes des journées algorithmiques de Nice, Université de Nice (1980).
P. Flajolet, J. Françon, J. Vuillemin Sequence of operations analysis for dynamic data structures.J.of algorithms 1, 111–141,1980.
P. Flajolet, C. Peuch, J. Vuillemin The analysis of simple lists structures. Inf. Sc. 38, 121–146, 1986.
P.Flajolet Analyse d'algorithmes de manipulation d'arbres et de fichiers. B.U.R.O. cahier 34–35, 1981.
J.Françon Combinatoire des structures de données.Thèse de doc. d'Etat. Université de Strasbourg, 1979
J. Françon Histoires de fichiers. RAIRO Inf.Th. 12, 49–62, 1978.
J.Françon, B.Randrianarimanana, R.Schott Analysis of dynamic data structures in D.E.Knuth's model. Rapport C.R.I.N. 1986.(submitted)
J.Françon, B.Randrianarimanana, R.Schott Analysis of dynamic algorithms in D.E.Knuth's model. Proceedings C.A.A.P.'88, L.N.C.S. 299 72–88.Springer Verlag.
A. Jonassen, D.E. Knuth A trivial algorithm whose analysis isn't. J.of Comp.and System Sc.16, 301–332, 1978.
G.D.Knott Deletion in binary storage trees.Report Stan-CS, 75-491, may 1975.
D.E.Knuth Deletions that preserve randomness. Trans.Software Eng, 351–359, 1977.
D.E.Knuth The art of computer programming: Sorting and Searching, vol.3, second printing, 1975.
G. Louchard Random walks, Gaussian processes and list structures. Th. Comp. Sc. 53, 99–124, 1987.
B.Randrianarimanana Analyse des structures de données dynamiques dans le modèle de D.E.Knuth. Thèse de 3ème cycle, Université Nancy 1, 1986.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1989 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Françon, J., Randrianarimanana, B., Schott, R. (1989). Dynamic data structures with finite population: A combinatorial analysis. In: Csirik, J., Demetrovics, J., Gécseg, F. (eds) Fundamentals of Computation Theory. FCT 1989. Lecture Notes in Computer Science, vol 380. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-51498-8_16
Download citation
DOI: https://doi.org/10.1007/3-540-51498-8_16
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-51498-5
Online ISBN: 978-3-540-48180-5
eBook Packages: Springer Book Archive