Life-like cellular automaton: Difference between revisions
split from https://conwaylife.com/wiki/Cellular_automaton#Life-like_cellular_automata into a separate page Tag: Removed redirect |
→External links: link forum threads |
||
| Line 80: | Line 80: | ||
==External links== | ==External links== | ||
* {{LinkWikipedia|Life-like_cellular_automaton}} | * {{LinkWikipedia|Life-like_cellular_automaton}} | ||
;Forum threads | |||
<!-- Threads devoted to the complete rulespace of Life-like rules --> | |||
* {{LinkForumThread|f=11|t=1071|title=Guns in Life-like cellular automata}} | |||
* {{LinkForumThread|f=11|t=1074|title=Spaceships in Life-like cellular automata}} | |||
* {{LinkForumThread|f=11|t=5474|title=Oscillators in Life-like cellular automata}} | |||
[[Category:Cellular automata]] | [[Category:Cellular automata]] | ||
[[Category:Life-like cellular automata| ]] | [[Category:Life-like cellular automata| ]] | ||
Revision as of 21:33, 3 September 2022
A Life-like cellular automaton is a CA meeting the following criteria:
- the universe is a two-dimensional array of square cells,
- each cell can be in one of two states (which are referred to as "alive" and "dead", or alternatively "on" and "off"),
- the neighbourhood of each cell is the Moore neighbourhood,
- the new state of a cell in the next generation can be expressed as a function of the current state of the cell and the number of alive neighbours of the cell; that is, the rule is outer totalistic (sometimes called semitotalistic).
This class of cellular automata is named for Conway's Game of Life, the most famous cellular automaton, which meets all above criteria. It is also common to refer to this rulespace as the "Life family" or to simply use phrases like "similar to Life".
Rules
Rules are typically expressed as rulestrings in B/S notation, with two lists of numbers giving the live neighbour counts that cause a dead cell to be born or a live cell to survive, respectively; Conway's Game of Life has the rulestring B3/S23.
There are 262144 (= 218) distinct Life-like rules. Each rule has a complementary rule which behaves identically under on-off reversal; namely the rule in which birth occurs on all N except those for which 8-N is a survival condition in the original rule, and survival occurs on all N except those for which 8-N is a birth condition in the original rule. For example, the rule complementary to Conway's Life is 01234678/0123478. This however does not quite halve the number of effectively distinct rules, as there are 512 (= 29) self-complementary rules which are unaffected by on-off reversal.
Some straightforward inferences on the behavior of different kinds of rules can be made:
- In all rules where the lowest birth condition is 1 neighboring ON cell, all finite patterns grow at the speed of light in all directions. No still lifes, oscillators or spaceships are possible in these rules. Several have replicators, however. There are 65536 (= 216) rules of the B1 type.
- All rules where the lowest birth condition is 2 neighboring ON cells are exploding or expanding in character; this is largely due to the fact that a domino at the corner of a pattern will give rise to a new domino, also located at the corner of the daughter pattern. Spaceships (such as the moon) and oscillators (such as the duoplet) do exist in many of these rules. There are 32768 (= 215) rules of the B2 type.
- All rules where the lowest birth condition (if any) is 4 or more neighboring ON cells are stable in character, since no patterns can ever grow beyond their initial bounding box. In particular, no spaceships can exist. There are 16384 (= 214) rules of the B4+ type.
- In all rules where the lowest birth condition is 0 neighboring ON cells, and the highest survival condition is 8 neighboring ON cells, the vacuum is unstable and will be immediately filled (and remain filled) with ON cells; thus, there are no patterns that remain finite. All of these rules have distinct complementary rules, and they are not commonly studied on their own.
- This leaves 16384 rules in which the lowest birth condition is 3 neighboring ON cells, as well as 65536 rules in which the lowest birth condition is 0 neighboring cells, and 8 neighbors is not a survival condition. All chaotic rules must fall in either of these two areas of the rulespace. Most well-studied examples fall in the first one, since for long no commonly available software existed that could simulate the evolution of rules containing B0. Golly's QuickLife algorithm simulates them by converting them into equivalent rules to avoid having to simulate an infinite number of cells.[1]
Generalizations
- See also: Non-totalistic cellular automaton, Non-isotropic cellular automaton, Generations, Larger than Life
Various generalizations of Life-like cellular automata are possible. In isotropic non-totalistic rules, the transition function considers not just the number of cells in a given cell's neighborhood but also their relative alignment; for example, a cell might be born if bordered by three live cells in a row, but not by three live cells in other configurations. Non-totalistic rules are described using Hensel notation, an extension of B/S notation additionally describing allowed or forbidden configurations.
In non-isotropic rules, the transition function additionally considers the absolute placement of a given cell's neighborhood; for example, a cell might be born if it is bordered by two live neighbors on the north and northeast, but not if it is bordered by two live neighbors on the south and southwest. Non-isotropic rules are described using MAP strings, a notation unrelated to B/S notation.
In Generations rules, additional states are introduced, and cells that do not survive into the next generation instead progress through the subsequent states before dying. Cells in these additional states do not count as live neighbors for the purpose of evolution.
In Larger than Life rules, the size of a cell's neighborhood is extended to include cells with a distance greater than one. As in Generations rules, non-surviving cells may decay through additional states instead of dying outright.
Well-known Life-like cellular automata
- Main article: List of Life-like cellular automata
The following table lists life-like cellular automata that are particularly well-known or well-studied.
| Rulestring | Name | Description |
|---|---|---|
| B1357/S1357 | Replicator | A rule in which every pattern is a replicator. |
| B1357/S02468 | Fredkin | A rule in which, like Replicator, every pattern is a replicator. |
| B2/S | Seeds | An exploding rule in which every cell dies in every generation. It has many simple orthogonal spaceships, though it is in general difficult to create patterns that don't explode. |
| B2/S0 | Live Free or Die | An exploding rule in which only cells with no neighbors survive. It has many spaceships, puffers, and oscillators, some of infinitely extensible size and period. |
| B3/S012345678 | Life without death | An expanding rule that produces complex flakes and ladders. |
| B3/S12 | Flock | A rule which rapidly decays into small still lifes and oscillators. |
| B3/S1234 | Mazectric | An expanding rule that crystalizes to form maze-like designs that tend to be straighter (ie. have longer "halls") than the standard maze rule. |
| B3/S12345 | Maze | An expanding rule that crystalizes to form maze-like designs. |
| B3/S23 | Conway's Game of Life | A chaotic rule that is by far the most well-known and well-studied. It exhibits highly complex behavior. |
| B36/S125 | 2×2 | A chaotic rule with many simple still lifes, oscillators and spaceships. Its name comes from the fact that it sends patterns made up of 2×2 blocks to patterns made up of 2×2 blocks. |
| B36/S23 | HighLife | A chaotic rule very similar to Conway's Game of Life that is of interest because it has a simple replicator. |
| B368/S245 | Move | A rule in which random patterns tend to stabilize extremely quickly. Has a very common slow-moving spaceship and slow-moving puffer. |
| B3678/34678 | Day & Night | A stable rule that is symmetric under on-off reversal. Many patterns exhibiting highly complex behavior have been found for it. |
| B37/S23 | DryLife | An explosive rule that resembles the regular Game of Life, but the weighted spaceships (xWSSes) do not function, and there exists 9c/28 orthogonal technology. |
| B38/S23 | Pedestrian Life | A chaotic rule that strongly resembles regular Life, with many exciting natural technologies. |
See also
References
External links
- Life-like cellular automaton at Wikipedia
- Forum threads
- Guns in Life-like cellular automata (discussion thread) at the ConwayLife.com forums
- Spaceships in Life-like cellular automata (discussion thread) at the ConwayLife.com forums
- Oscillators in Life-like cellular automata (discussion thread) at the ConwayLife.com forums