Abstract
The evolution of certain pointer-based implementations of dictionaries, linear lists and priority queues is studied. Under the assumption of equiprobability of histories, i.e., of paths through the internal state space of the implementation, the n → ∞ asymptotics of the space and time costs of a sequence of n supported operations are computed.
For list implementations the mean integrated spatial cost is asymptotically proportional to n 2, and its standard deviation to n 3/2. For d-heap implementations of priority queues the mean integrated space cost grows only as n 2/√log n, i.e. more slowly than the worst-case integrated cost. The standard deviation grows as n 3/2.
These asymptotics reflect the convergence as n → ∞ of the normalized structure sizes to datatype-dependent deterministic functions of time, as earlier discovered by Louchard. This phenomenon is clarified with the aid of large deviation theory, and path integral techniques.
This work was supported in part by AFOSR grant 88-0189.
Preview
Unable to display preview. Download preview PDF.
References
N. I. Akhiezer, The Calculus of Variations. Blaisdell, New York, 1962.
B. Bollobás and I. Simon, “Repeated Random Insertions into a Priority Queue.” J. Algorithms 6 (1985), 466–477.
L. Chéno, P. Flajolct, J. Françon, C. Puech and J. Vuillemin, “Dynamic Data Structures: Finite Files, Limiting Profiles and Variance Analysis.” In Proceedings of the 18th Allerton Conference, pp. 223–232. Monticello, Ill., 1980.
P. Flajolet, J. Françon and J. Vuillemin, “Sequence of Operations Analysis for Dynamic Data Structures.” J. Algorithms 1 (1980), 111–141.
P. Flajolet, C. Puech and J. Vuillemin, “The Analysis of Simple List Structures.” Inform. Sci. 38 (1986), 121–146.
M. I. Freidlin and A. D. Wentzell, Random Perturbations of Dynamical Systems. Springer-Verlag, New York, 1984.
H. Goldstein, Classical Mechanics. Addison-Wesley, Reading MA, 1950.
N. J. Günther, “Path Integral Methods for Computer Performance Analysis.” Inf. Proc. Lett. 32 (1989), 7–13.
A. Jonassen and O.-J. Dahl, “Analysis of an Algorithm for Priority Queue Administration.” BIT 15 (1975), 409–422.
A. Jonassen and D. Knuth, “A Trivial Algorithm Whose Analysis Isn't.” J. Comput. System Sci. 16 (1978), 301–322.
R. Kemp, Fundamentals of the Average Case Analysis of Particular Algorithms. Wiley, New York, 1984.
G. Louchard, “Random Walks, Gaussian Processes and List Structures.” Theor. Comp. Sci. 53 (1987), 99–124.
G. Louchard, B. Randrianarimanana and R. Schott, “Dynamic Algorithms in D. E. Knuth's Model: A Probabilistic Analysis,” in Automata, Languages and Programming: Proceedings of ICALP '89, Springer-Verlag, 1989.
L. S. Schulman, Techniques and Applications of Path Integration. Wiley, New York, 1981.
S. R. S. Varadhan, Large Deviations and Applications. SIAM, Philadelphia, 1984.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Maier, R.S. (1991). The asymptotic evolution of data structures. In: Akl, S.G., Fiala, F., Koczkodaj, W.W. (eds) Advances in Computing and Information — ICCI '90. ICCI 1990. Lecture Notes in Computer Science, vol 468. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-53504-7_57
Download citation
DOI: https://doi.org/10.1007/3-540-53504-7_57
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-53504-1
Online ISBN: 978-3-540-46677-2
eBook Packages: Springer Book Archive