von Neumann neighbourhood

The von Neumann neighbourhood is the set of all cells that are orthogonally adjacent to the region of interest (the region of interest itself may or may not be considered part of the von Neumann neighbourhood, depending on context). For example, the von Neumann neighbourhood of a single cell consists of the four cells orthogonally touching it. This neighbourhood is named after John von Neumann, the creator of the first self-replicating cellular automaton.[1]

The von Neumann neighbourhood (in green) of a single cell

The von Neumann neighbourhood naturally extends to cellular automata in higher dimensions, for example forming a 6-cell octahedral neighborhood for a cellular automaton in three dimensions. The number of cells in the von Neumann neighbourhood of a single cell in an n-dimensional cellular automaton is 2n (Sloane's A005843 ).

The von Neumann neighbourhood of a cell can be thought of as the points at a Manhattan distance of 1 from that cell.

Higher ranges

The von Neumann neighbourhood can also be defined with a higher range; that is, so that it captures cells that are further than one cell away from the region of interest. The standard von Neumann neighbourhood has range 1. The von Neumann neighbourhood of range 2 is the set of all cells that are orthogonally adjacent to the von Neumann neighbourhood itself. The von Neumann neighbourhood of range n can be defined recursively as the von Neumann neighbourhood of the von Neumann neighbourhood of range n-1. The number of cells in the von Neumann neighbourhood of range n of a single cell is given by 2n(n+1) (Sloane's A046092 ).

The von Neumann neighbourhood (in green) of an eater 1
The von Neumann neighbourhood of range 2 of a single cell
The von Neumann neighbourhood of range 3 of a single cell
gollark: Gollark's nth law: Gollark's (n - 1)th law is abs(n % 100)% likely to be true.
gollark: Gollark's Third Law: Nobody ever gets percentages right, except for gollark.
gollark: So every time someone develops a new law, we simply add new laws to the system to correct for it.
gollark: No, no, how about a system of laws which, if another fitting one is added, will still maintain the 73%?
gollark: All channels are the right channel at all times, <@!218047149512982531>.

See also

References

  1. Tim Tyler. "The von Neumann neighbourhood". Retrieved on June 13, 2009.
This article is issued from Conwaylife. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.