Template:Rule1D
Jump to navigation
Jump to search
| The current OCA infobox infrastructure is inadequate in several ways; see forum thread 166744 for related discussion of what could/should be done with infoboxes |
| Example rule | |
| View static image | |
| View animated image | |
| Number | ω - 1 |
|---|---|
| Computation | |
| Character | Stablosive |
The rule template is an infobox template for rules for one-dimensional cellular automata. It takes the following parameters:
- name: the name of the rule.
- imgname: the name of the image (of a typical pattern) to display in the infobox; .png and .gif are appended automatically for the still and animated versions. The File: prefix should not be specified.
- animated: should be set to true if an animated image for this rule has been uploaded.
- number: the rule's number.
- computation: the rule's minimal known logic gate configuration (as a function of p, q and r)
- Can be given in either bitwise or formal logical form, at your discretion, but monospacing makes wedge shapes look thin and strange
- ie. rule 110's is ~p&q|q^r or ¬p∧q∨q⊕r.
- char: the rule's character. Should be one of:
- Stable: rules in which patterns tend to stabilize quickly and show little activity.
- Chaotic: rules in which patterns tend to show complex behavior, but do not generally explode.
- Explosive: rules in which patterns tend to grow without bound.
- Class 4: rules with "a mixture of order and randomness," under which only the conjugacy classes of rules 54, 110 and 120 fall.
- dualities
- reversal: black/white reversal (reflect order of bits and flip them all)
- reflection: left/right reflection (move each bit to the index formed by reflecting its index's representation)
- The following are only provided if self-complementary under black/white reversal
- strobing: strobing dual (reflect order of bits, or equivalently flip them all)
- checkerboard: checkerboard dual (either XOR bits' indexes' representations with 010 and invert bit values, or with 101 and keep values)
Example
An example can been seen to the right; it was generated with the following invocation:
{{Rule1D
|name = Example rule
|imgname = examplerule
|number = ω - 1
|char = Stablosive
|animated = true
}}