请输入您要查询的百科知识:

 

词条 Real RAM
释义

  1. Model

  2. Implementation

  3. Related models

  4. References

  5. External links

In computing, especially computational geometry, a real RAM (random access machine) is a mathematical model of a computer that can compute with exact real numbers instead of the binary fixed point or floating point numbers used by most actual computers.

The real RAM was formulated by Michael Ian Shamos in his 1978 Ph.D. dissertation.[1]

Model

The "RAM" part of the real RAM model name stands for "random access machine". This is a model of computing that resembles a simplified version of a standard computer architecture. It consists of a stored program, a computer memory unit consisting of an array of cells, and a central processing unit with a bounded number of registers. Each memory cell or register can store a real number. Under the control of the program, the real RAM can transfer real numbers between memory and registers, and perform arithmetic operations on the values stored in the registers.

The allowed operations typically include addition, subtraction, multiplication, and division, as well as comparisons, but not modulus or rounding to integers. The reason for avoiding integer rounding and modulus operations is that allowing these operations could give the real RAM unreasonable amounts of computational power, enabling it to solve PSPACE-complete problems in polynomial time.[2]

When analyzing algorithms for the real RAM, each allowed operation is typically assumed to take constant time.

Implementation

Software libraries such as LEDA have been developed which allow programmers to write computer programs that work as if they were running on a real RAM.

These libraries represent real values using data structures which allow them to perform arithmetic and comparisons with the same results as a real RAM would produce. The time analysis of the underlying real RAM algorithm

can be interpreted as counting the number of library calls needed by a given algorithm.[3]

Related models

The real RAM closely resembles the later Blum–Shub–Smale machine.[4] However, the real RAM is typically used for the analysis of concrete algorithms in computational geometry, while the Blum–Shub–Smale machine instead forms the basis for extensions of the theory of NP-completeness to real-number computation.

An alternative to the real RAM is the word RAM, in which both the inputs to a problem and the values stored in memory and registers are assumed to be integers with a fixed number of bits. The word RAM model can perform some operations more quickly than the real RAM; for instance, it allows fast integer sorting algorithms, while sorting on the real RAM must be done with slower comparison sorting algorithms. However, some computational geometry problems have inputs or outputs that cannot be represented exactly using integer coordinates; see for instance the Perles configuration, an arrangement of points and line segments that has no integer-coordinate representation.

References

1. ^{{citation|first=Michael Ian|last=Shamos|authorlink=Michael Ian Shamos|year=1978|title=Computational Geometry|publisher=Yale University|series=Ph.D. dissertation}}.
2. ^{{citation | last = Schönhage | first = Arnold | authorlink = Arnold Schönhage | contribution = On the power of random access machines | doi = 10.1007/3-540-09510-1_42 | mr = 573259 | pages = 520–529 | publisher = Springer | series = Lecture Notes in Computer Science | title = Proceedings of the Sixth International Colloquium on Automata, Languages and Programming (ICALP '79) | volume = 71 | year = 1979| title-link = International Colloquium on Automata, Languages and Programming | isbn = 978-3-540-09510-1 }}.
3. ^{{citation | last1 = Mehlhorn | first1 = Kurt | author1-link = Kurt Mehlhorn | last2 = Schirra | first2 = Stefan | contribution = Exact computation with leda_real—theory and geometric applications | contribution-url = http://www.mpi-inf.mpg.de/~mehlhorn/ftp/leda_real_TGA.pdf | doi = 10.1007/978-3-7091-6280-4_16 | mr = 1832422 | pages = 163–172 | publisher = Springer | title = Symbolic Algebraic Methods and Verification Methods (Dagstuhl, 1999) | year = 2001| isbn = 978-3-211-83593-7 }}.
4. ^{{citation | last1=Blum | first1=Lenore | author1-link=Lenore Blum | last2=Shub | first2=Mike | author2-link=Michael Shub | last3=Smale | first3=Steve | author3-link=Stephen Smale | zbl=0681.03020 | pages=1–46 | doi=10.1090/S0273-0979-1989-15750-9 | year=1989|title=On a theory of computation and complexity over the real numbers: NP-completeness, recursive functions and universal machines|journal=Bulletin of the American Mathematical Society|volume=21|issue=1}}.

External links

  • Feasible Real Random Access Machines References
  • Geometric Computing The Science of Making Geometric Algorithms Work

3 : Classes of computers|Computational science|Computational geometry

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/30 18:43:06