Neighbourhood: Difference between revisions
scrub the stub |
nbh-demo doesn't work here |
||
| Line 4: | Line 4: | ||
A '''neighbourhood''' is the set of nearby cells that are considered by a given [[rule]] when determining a cell's next state. | A '''neighbourhood''' is the set of nearby cells that are considered by a given [[rule]] when determining a cell's next state. | ||
[[Conway's Game of Life]] utilizes the [[Moore neighbourhood]], which consists of the eight cells that are either orthogonally or diagonally adjacent to the center cell. Other cellular automata on a square grid use the [[von Neumann neighbourhood]], which consists only of orthogonal neighbours. [[Larger than Life]] and [[higher-range outer | [[Conway's Game of Life]] utilizes the [[Moore neighbourhood]], which consists of the eight cells that are either orthogonally or diagonally adjacent to the center cell. Other cellular automata on a square grid use the [[von Neumann neighbourhood]], which consists only of orthogonal neighbours. [[Larger than Life]] and [[higher-range outer totalistic]] rules feature neighbourhoods with higher ranges - i.e. they include cells located further away from the center. Finally, alternative grid tilings, such as [[hexagonal]] and [[triangular]], feature their own neighbourhoods which may or may not correspond to equivalent square grid neighbourhoods. | ||
{| style="width: 100%; left-margin: auto; right-margin: auto; border-collapse: collapse;" cellpadding="0" | {| style="width: 100%; left-margin: auto; right-margin: auto; border-collapse: collapse;" cellpadding="0" | ||
| Line 11: | Line 11: | ||
{| style="margin: 0 auto; border-spacing: 1em 0;" cellpadding="0" | {| style="margin: 0 auto; border-spacing: 1em 0;" cellpadding="0" | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| | | [[File:von Neumann neighbourhood (range 1).png|frame|none|The [[von Neumann neighbourhood]].]] | ||
| | | [[File:Hexagonal neighbourhood (radius 1).png|frame|none|The [[hexagonal neighbourhood]].]] | ||
| | | [[File:Moore neighbourhood (range 1).png|frame|none|The [[Moore neighbourhood]].]] | ||
|} | |} | ||
| [[File:Representation_of_the_hexagonal_neighbourhood_on_the_square_tessellation.png|frame|center|Representation of the hexagonal neighbourhood on the square tessellation.]] | | [[File:Representation_of_the_hexagonal_neighbourhood_on_the_square_tessellation.png|frame|center|Representation of the hexagonal neighbourhood on the square tessellation.]] | ||
| Line 32: | Line 32: | ||
* [[Moore neighbourhood]] | * [[Moore neighbourhood]] | ||
* [[von Neumann neighbourhood]] | * [[von Neumann neighbourhood]] | ||
* [[Triangular neighbourhood]] | * [[Triangular Moore neighbourhood]] | ||
* [[Triangular von Neumann neighbourhood]] | |||
* [[Euclidean neighbourhood]] | * [[Euclidean neighbourhood]] | ||
* [[Circular neighbourhood]] | * [[Circular neighbourhood]] | ||
Revision as of 05:10, 4 January 2022
- Further information: Cellular automaton#Common dimensions and neighborhoods
A neighbourhood is the set of nearby cells that are considered by a given rule when determining a cell's next state.
Conway's Game of Life utilizes the Moore neighbourhood, which consists of the eight cells that are either orthogonally or diagonally adjacent to the center cell. Other cellular automata on a square grid use the von Neumann neighbourhood, which consists only of orthogonal neighbours. Larger than Life and higher-range outer totalistic rules feature neighbourhoods with higher ranges - i.e. they include cells located further away from the center. Finally, alternative grid tilings, such as hexagonal and triangular, feature their own neighbourhoods which may or may not correspond to equivalent square grid neighbourhoods.
|
![]() |
Identical cases
For the systematic neighbourhoods implemented in Golly and LifeViewer, the following cases are identical:
- Range 1 cross, von Neumann, Euclidean and checkerboard
- Range 1 Moore, circular, hash and star
- Range 2 von Neumann and Euclidean
- Range 1 hexagonal and asterisk
See also
- Gallery of neighbourhoods
- Hexagonal neighbourhood
- Margolus neighbourhood
- Moore neighbourhood
- von Neumann neighbourhood
- Triangular Moore neighbourhood
- Triangular von Neumann neighbourhood
- Euclidean neighbourhood
- Circular neighbourhood
- Zone of influence
External links
- Neighbour at the Life Lexicon


