Abstract
It is shown that any RAM of logarithmic time complexity T(n) can be simulated in linear logarithmic time by a RAM that uses only its O(T 2(n)/log T(n)) first registers, each of them being of size O(log T(n)). As a consequence such a RAM can also be simulated by a unit cost RAM in time O(U(n)+T(n)/log log T(n)) where U(n) denotes the number of input/output operations of a RAM to be simulated. In general the last simulation cannot be improved. Further the difference between the two RAM-space measures found in the literature is studied — the first one being defined as the maximum size of all configurations entered by RAM during its computation, the second one as the sum of maxima of each register contents. It is shown that any S(n)-space bounded RAM, under the standard logarithmic space measure, can be simulated in \(O(\sqrt {S(n)} )\)space, under the first space measure mentioned above; it follows that the underlying space measure does not respect the Invariance Thesis as formulated by Slot and van Emde Boas. However, when the size of register addresses is also reflected in both previous space measure definitions these measures are equivalent, i.e., they induce the same complexity classes.
Preview
Unable to display preview. Download preview PDF.
References
Aho, A.V. — Hopcroft, J.E. — Ullman, J.D.: The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading, Mass., 1974
Angluin, D. — Valiant, L.G.: Fast Probabilistic Algorithms for Hamiltonian Circuits and Matchings. Journal of Comp. and Syst. Sci., Vol. 18, 1979, pp. 155–193
Borodin, A.: Computational Complexity: Theory and Practice. In: A.V. Aho (Ed.): Currents in the Theory of Computing. Prentice Hall, Englewood Cliffs, N.J., 1973
Cook, S.A. — Reckhow, R.A.: Time Bounded Random Access machines. J. Comput. Syst. Sci., Bol. 7, 1973, pp. 78–93
Hopcroft, J.E. — Paul, W. — Valiant, L.G.: On Time Versus Space. J. Assoc. Comput. Mach., Vol. 24, 1977, pp. 332–337
Hopcroft, J.E. — Ullman, J.D.: Introduction to Automata Theory Languages and Computation. Addison-Wesley, Reading, Mass., 1979
Katajainen, J. — van Leeuwen, J, — Penttonen, M.: Fast Simulation of Turing Machines by Random Access Machines. SIAM J. COMPUT., Vol. 17, No. 1, 1988, pp. 77–88
Knuth, D.E.: The Art of Computer Programming, Vol. 3: Seminumerical Algorithms. Addison-Wesley, Reading, Mass., 1969
Mehlhorn, K.: Data Structures and Algorithms 1: Sorting and Searching. Springer Verlag, Berlin, 1984
Slot, C. — van Emde-Boas, P.: The Problem of Space Invariance for Sequential Machines. Inf. and Comp., Vol. 77, 1988, pp. 93–122
van Emde-Boas, P.: Machine Models and Simulations. In: J. van Leeuwen (Ed.): Handbook of Theoretical Computer Science, North Holland, 1990, (to appear)
Wagner, K. — Wechsung, G.: Computational Complexity. Mathematische Monographien 19, VEB Deutscher Verlag der Wissenschaften, 1986
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1990 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Wiedermann, J. (1990). Normalizing and accelerating RAM computations and the problem of reasonable space measures. In: Paterson, M.S. (eds) Automata, Languages and Programming. ICALP 1990. Lecture Notes in Computer Science, vol 443. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0032027
Download citation
DOI: https://doi.org/10.1007/BFb0032027
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-52826-5
Online ISBN: 978-3-540-47159-2
eBook Packages: Springer Book Archive