One-dimensional cellular automata: Difference between revisions
One-dimensional cellular automata (view source)
Revision as of 11:53, 27 February 2014
, 10 years ago→{{header|Perl 6}}: wp link to wp:Rule 90
(→{{header|Perl 6}}: remark about wrapping) |
m (→{{header|Perl 6}}: wp link to wp:Rule 90) |
||
Line 2,360:
=={{header|Perl 6}}==
We'll make a general algorithm capable of computing any cellular automata as defined by [[wp:Stephen Wolfram|Stephen Wolfram]]'s famous book ''[[wp:A new kind of Science|A new kind of Science]]''. The rule currently proposed for this task is rule 0b01101000 = 104 but it is not particularly interesting so instead we'll show the automata defined by
<lang perl6>class Automata {
|