Transitions, conditions, and transition rules
Posted: May 29th, 2024, 2:49 am
Here are intuitive definitions of the terms 'transition', 'condition', and 'transition rule' that have been in use. Please let me know if these definitions could be clearer in any way.
A transition is an ordered pair (current cellstate, new cellstate). There are n^2 possible transitions in a n-state rule. If one requires the two cellstates to be different, like in the dictionary definition for 'transition', there are n^2-n such ordered pairs.
For example, the 2^2 = 4 transitions in a 2-state rule are
In the expanded B/S notation created by Tropyllium in 2011, the four transitions are called A (abstain), B (birth), D (death), and S (survival) respectively. Using the stronger definition only B and D would properly be called transitions.
A condition is a specification of the current states of cells in some cell's neighbourhood, under some equivalence class. For example, one can write:
- 'B3' to denote the condition "the cell is currently dead and has exactly three alive neighbours and all its other neighbours are dead"
- 'S3' to denote the condition "the cell is currently alive and has exactly three alive neighbours and all its other neighbours are dead".
The digit '3' can denote the condition "the cell has three alive neighbours and all its other neighbours are dead".
Using Hensel notation, one can write 'S4c' to denote the condition "the cell is currently alive and it has four alive neighbours, all diagonally adjacent to the cell, and four dead neighbours, all orthogonally adjacent to the cell".
A transition rule is a combination of a condition and a transition: simply an ordered pair (c; t) where c is the condition and t is the transition.
It is possible to define a cellular automaton by writing down a set of transition rules, such that for every condition that can possibly occur, the set of transition rules contains exactly one rule that "matches" that condition. In other words, the transition rules must cover all possible scenarios and leave no ambiguity or contradictions.
EDIT: request by rowett
EDIT2: described S4c better
A transition is an ordered pair (current cellstate, new cellstate). There are n^2 possible transitions in a n-state rule. If one requires the two cellstates to be different, like in the dictionary definition for 'transition', there are n^2-n such ordered pairs.
For example, the 2^2 = 4 transitions in a 2-state rule are
Code: Select all
0 -> 0 0 -> 1 1 -> 0 1 -> 1
A condition is a specification of the current states of cells in some cell's neighbourhood, under some equivalence class. For example, one can write:
- 'B3' to denote the condition "the cell is currently dead and has exactly three alive neighbours and all its other neighbours are dead"
- 'S3' to denote the condition "the cell is currently alive and has exactly three alive neighbours and all its other neighbours are dead".
The digit '3' can denote the condition "the cell has three alive neighbours and all its other neighbours are dead".
Using Hensel notation, one can write 'S4c' to denote the condition "the cell is currently alive and it has four alive neighbours, all diagonally adjacent to the cell, and four dead neighbours, all orthogonally adjacent to the cell".
A transition rule is a combination of a condition and a transition: simply an ordered pair (c; t) where c is the condition and t is the transition.
It is possible to define a cellular automaton by writing down a set of transition rules, such that for every condition that can possibly occur, the set of transition rules contains exactly one rule that "matches" that condition. In other words, the transition rules must cover all possible scenarios and leave no ambiguity or contradictions.
EDIT: request by rowett
EDIT2: described S4c better