Heat: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
changed link to updated script
Confocal (talk | contribs)
m mod, formatting
Line 2: Line 2:
[[Image:Blinker_rotor.gif|framed|right|This blinker has heat 4]]The '''heat''' of an [[oscillator]] or [[spaceship]] is the average number of [[cell]]s that change state in each [[generation]]. For example, the heat of a [[blinker]] is 4 because 2 cells are born and 2 die every generation – the four cells that change state each generation are highlighted in green to the right. Similarly, the heat of a [[lightweight spaceship]] is 11 because 9 cells change in its odd-numbered generations (3 cells die and 6 are born) and 13 cells change in its even-numbered generations (8 cells die and 5 are born), for an average of 11 cells changing per generation.
[[Image:Blinker_rotor.gif|framed|right|This blinker has heat 4]]The '''heat''' of an [[oscillator]] or [[spaceship]] is the average number of [[cell]]s that change state in each [[generation]]. For example, the heat of a [[blinker]] is 4 because 2 cells are born and 2 die every generation – the four cells that change state each generation are highlighted in green to the right. Similarly, the heat of a [[lightweight spaceship]] is 11 because 9 cells change in its odd-numbered generations (3 cells die and 6 are born) and 13 cells change in its even-numbered generations (8 cells die and 5 are born), for an average of 11 cells changing per generation.


For a [[period]] n oscillator with an r-cell [[rotor]], the heat is at least 2r/n and no more than r(1-(n mod 2)/n). For n=2 and n=3 these bounds are equal.
For a [[period]] n oscillator with an r-cell [[rotor]], the heat is at least {{nowrap|2 r / n}} and no more than {{nowrap|r (1 - (n [[Modular congruence|mod]] 2) / n)}}. For {{eq|n|2}} and {{eq|n|3}} these bounds are equal.


[[Temperature]] is a metric of heat in proportion to the total number of active cells.
[[Temperature]] is a metric of heat in proportion to the total number of active cells.


==External links==
==External links==
{{LinkLexicon|lex_h.htm#heat}}
* {{LinkLexicon|lex_h.htm#heat}}
*[https://github.com/dvgrn/b3s23life/blob/main/Python3.x-updates/calculate-heat.py Golly script to calculate heat of spaceships and oscillators]
* [https://github.com/dvgrn/b3s23life/blob/main/Python3.x-updates/calculate-heat.py Golly script to calculate heat of spaceships and oscillators]

Revision as of 11:56, 10 April 2023

This blinker has heat 4

The heat of an oscillator or spaceship is the average number of cells that change state in each generation. For example, the heat of a blinker is 4 because 2 cells are born and 2 die every generation – the four cells that change state each generation are highlighted in green to the right. Similarly, the heat of a lightweight spaceship is 11 because 9 cells change in its odd-numbered generations (3 cells die and 6 are born) and 13 cells change in its even-numbered generations (8 cells die and 5 are born), for an average of 11 cells changing per generation.

For a period n oscillator with an r-cell rotor, the heat is at least 2 r / n and no more than r (1 - (n mod 2) / n). For n = 2 and n = 3 these bounds are equal.

Temperature is a metric of heat in proportion to the total number of active cells.