Condition: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Created page with "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..."
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Glossary}}
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:
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:


Line 9: Line 10:
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".
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".


This is sometimes referred to erroneously as a [[transition]].
Atomic components of rulestrings such as 'B3' or 'S4c' are often referred to as [[transition (rule definition)|transition]]s, because they contain slightly more information than just a simple specification of the current states of cells. The "B" or "S" prefix also specifies the future state of the key cell.
 
The term "transition" for this combination of information -- i.e., current condition ''and'' future cell state -- may have originated partly from the longer term "[[transition rule]]", and partly from the term "[[transition (rule definition)#In_lines_of_Golly_rule_tables|transition table]]", the main part of a Golly rule table definition where each line specifies a "transition" in this sense of the term.

Latest revision as of 18:37, 6 July 2025

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".

Atomic components of rulestrings such as 'B3' or 'S4c' are often referred to as transitions, because they contain slightly more information than just a simple specification of the current states of cells. The "B" or "S" prefix also specifies the future state of the key cell.

The term "transition" for this combination of information -- i.e., current condition and future cell state -- may have originated partly from the longer term "transition rule", and partly from the term "transition table", the main part of a Golly rule table definition where each line specifies a "transition" in this sense of the term.