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, where O denotes big-O notation. The specified arithmetic and logical operations on a constant number of words have unit cost (Massachusetts Institute of Technology 2012, p. 1). 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.Massachusetts Institute of Technology. "Lecture 11 Student Notes." MIT OpenCourseWare, 6.851 Advanced Data Structures, p. 1, 2012. https://ocw.mit.edu/courses/6-851-advanced-data-structures-spring-2012/resources/mit6_851s12_l11/.

Cite this as:

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

Subject classifications