Cellular Automata/Neighborhood
Contents |
[edit] 1D neighborhood
Since in 1D there are no shapes, the definition of the neighborhood is usually very simple.
[edit] Radial neighborhood
Usually the neighborhood in 1D is described by its radius r, meaning the number of cell left and right from the central cell that are used for the neighborhood. The output cell is positioned at the center.
- Formal definition
Formally the radial neighborhood is the set of neighbors
or simply the neighborhood size k = 2r + 1 with the output cell at the center k0 = r.
- Symmetries
- reflection symmetry
[edit] Stephen Wolfram's notation
In Wolframs's texts and many others the number of available cell states | S | and the radius r are combined into a pair
- See also
- Stephen Wolfram, Statistical Mechanics of Cellular Automata (1983)
[edit] Brickwall neighborhood
An unaligned neighborhood, usually the smallest possible k = 2. The output cell is positioned at k0 = 0.5 between the two cells of the neighborhood. It is usually processed by alternatively shifting the output cell between k0 = 0 and k0 = 1.
[edit] 2D neighborhood
[edit] von Neumann neighborhood
It is the smallest symmetric 2D aligned neighborhood usually described by directions on the compass N = {N,W,C,E,S} sometimes the central cell is omitted.
- Formal definition
Formally the von Neumann neighborhood is the set of neighbors
- N = {{0, − 1},{ − 1,0},{0,0},{ + 1,0},{0, + 1}}
or a subset of the rectangular neighborhood size kx = ky = 3 with the output cell at the center k0x = k0y = 1.
- Symmetries
- reflection symmetry
- rotation symmetry 4-fold
- See also
[edit] Moore neighborhood
Is a simple square (usually 3×3 cells) with the output cell in the center. Usually cells in the neighborhood are described by directions on the compass N = {NW,N,NE,W,C,E,SW,S,SE} sometimes the central cell is omitted.
- Formal definition
Formally the Moore neighborhood is the set of neighbors
- N = {{ − 1, − 1},{0, − 1},{1, − 1},{ − 1,0},{0,0},{ + 1,0},{ − 1, + 1},{0, + 1},{1, + 1}}
or simply a square size kx = ky = 3 with the output cell at the center k0x = k0y = 1.
- Symmetries
- reflection symmetry
- rotation symmetry 4-fold
- See also
- [mathworld] - [Moore Neighborhood]
[edit] Margolus neighborhood
reversible
see also [1]
[edit] Unaligned rectangular neighborhood
An unaligned (brickwall) rectangular neighborhood, usually the smallest possible kx = ky = 2. The output cell is positioned at k0x = k0y = 0.5 between the four cells of the neighborhood. It is usually processed by alternatively shifting the output cell to k0x = k0y = 0 and k0x = k0y = 1.
[edit] Hexagonal neighborhood
[edit] Hexagonal neighborhood
- Symmetries
- reflection symmetry
- rotation symmetry 6-fold
[edit] Small unaligned hexagonal neighborhood
- Formal definition
Formally the small (3-cell) unaligned hexagonal neighborhood represented on a rectangular lattice is the set of neighbors
- N = {{0,0},{1,0},{0,1}}
- Symmetries
- reflection symmetry
- rotation symmetry 3-fold
[edit] References
- [mathworld] - [Neighborhood]
This page may need to be 
