Skip to main content

Normalizing and accelerating RAM computations and the problem of reasonable space measures

  • Conference paper
  • First Online:
Automata, Languages and Programming (ICALP 1990)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 443))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aho, A.V. — Hopcroft, J.E. — Ullman, J.D.: The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading, Mass., 1974

    Google Scholar 

  2. 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

    Google Scholar 

  3. 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

    Google Scholar 

  4. Cook, S.A. — Reckhow, R.A.: Time Bounded Random Access machines. J. Comput. Syst. Sci., Bol. 7, 1973, pp. 78–93

    Google Scholar 

  5. Hopcroft, J.E. — Paul, W. — Valiant, L.G.: On Time Versus Space. J. Assoc. Comput. Mach., Vol. 24, 1977, pp. 332–337

    Google Scholar 

  6. Hopcroft, J.E. — Ullman, J.D.: Introduction to Automata Theory Languages and Computation. Addison-Wesley, Reading, Mass., 1979

    Google Scholar 

  7. 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

    Google Scholar 

  8. Knuth, D.E.: The Art of Computer Programming, Vol. 3: Seminumerical Algorithms. Addison-Wesley, Reading, Mass., 1969

    Google Scholar 

  9. Mehlhorn, K.: Data Structures and Algorithms 1: Sorting and Searching. Springer Verlag, Berlin, 1984

    Google Scholar 

  10. Slot, C. — van Emde-Boas, P.: The Problem of Space Invariance for Sequential Machines. Inf. and Comp., Vol. 77, 1988, pp. 93–122

    Google Scholar 

  11. van Emde-Boas, P.: Machine Models and Simulations. In: J. van Leeuwen (Ed.): Handbook of Theoretical Computer Science, North Holland, 1990, (to appear)

    Google Scholar 

  12. Wagner, K. — Wechsung, G.: Computational Complexity. Mathematische Monographien 19, VEB Deutscher Verlag der Wissenschaften, 1986

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Michael S. Paterson

Rights and permissions

Reprints 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

Publish with us

Policies and ethics