Cellular Automata - 3
Cellular Automata - 3
Waleed Khalid
Outline
Initial state
Neighborhood
Rules
Average,
Sum
…
Wolfram’s Elementary CA
Simplest possible model
One-dimensional cellular automaton
The standard Wolfram model is to initialize the grid with all cells assigned with 0, except for
the middle cell which is assigned with 1
Rules
i
i+1
Wolfram’s Elementary CA
Set of rules:
There are only 256(= 28) different ways for a Wolfram Elementary CA can be defined!
? ? ? ? ? ? ? ?
They can be categorized into 4 classifications:
CA which rapidly converge to a uniform state (rule 222)
CA which rapidly converge to a repetitive or stable state (rule 190)
CA which appear to remain in a random state (rule 30)
CA which form areas of repetitive or stable states, but also form structures that interact with each
other in complicated ways – a complex system (rule 110)
These are thought to be computationally universal, or
capable of simulating a Turing machine
Wolfram’s Elementary CA – Rule 110
von Neumann attempted to find a hypothetical machine that could build copies of itself
and succeeded when he found a mathematical model for such a machine with very
complicated rules on a rectangular grid
The Game of Life emerged as Conway's successful attempt to drastically simplify von
Neumann's ideas and still achieve similar “lifelike” result
Conway's Game of Life has the power of a universal Turing machine: that is, anything
that can be computed algorithmically can be computed within the game
The game made its first public appearance in the October 1970 issue of Scientific
American, in Martin Gardner's "Mathematical Games" column
15
GAME OF LIFE
John H. Conway developed “the Game of Life” in the 1970’s.
Conway's Game Of Life
A two-dimensional CA
Each cell is initialized with a random state: 0 or 1.
In this case, 0 means dead and 1 means alive
Each cell will have a bigger neighborhood
With nine cells as the neighborhood, we have 9 bits, or 512 possible configurations -
impractical to define an outcome for every single possibility (This is Moore neighborhood,
the total number of automata possible would be , or )
Conway's Game Of Life – The Rules
Still Lifes
Oscillators
Periodic
time = 1 time = 2
Moving
30:
Rule 30 Evolution
Rule 30 Ad Infinitum
256 rules
Same initial condition
Cellule Automata Encryption cont.
One can find the form of a row in the cellular automaton, if given some segment of
the encrypting sequence, corresponding to a particular column.
Rule 30 is not additive and to determine the color of a cell from the colors of its
neighbor columns is the same as enumerating all possible initial conditions.
38
Applications