TOPICS
Search

Random Access Machine


A random access machine is an abstract machine with integer-valued memory registers whose addresses can themselves be computed. An instruction can access a register by its address without traversing all intervening registers (CRC Press LLC 2004).

A word-based variant stores bounded-length sequences of binary digits in its registers. In a logarithmic-word model for an input of length N, each memory word has O(ln(N+2)) binary digits, and the specified arithmetic and logical operations on a constant number of words have unit cost. An operation on a number spanning several words must be charged according to the operations it requires. This distinction matters when specifying the computation time of an algorithm.


See also

Abstract Machine, Computation Time, Register Machine, Turing Machine

Explore with Wolfram|Alpha

References

CRC Press LLC. "Random Access Machine." In Dictionary of Algorithms and Data Structures (Ed. P. E. Black). National Institute of Standards and Technology, Dec. 17, 2004. https://xlinux.nist.gov/dads/HTML/randomaccess.html.

Cite this as:

Weisstein, Eric W. "Random Access Machine." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/RandomAccessMachine.html

Subject classifications