Cellular Automata

Total Page:16

File Type:pdf, Size:1020Kb

Cellular Automata Cellular Automata Mus270C Cellular Automata • Discrete Dynamical System – Space and 9me • Dimension – 1-D, 2-D, … • States – Neighborhood and neighbors • Rules 2 1-D Cellular Automata • Neighborhood 3 1-D Cellular Automata • Neighborhood • Black & White neighbors (States) 4 1-D Cellular Automata • Neighborhood • Black & White neighbors (States) • Rules 5 1-D Cellular Automata • Neighborhood • Black & White neighbors (States) • Rules • Example t = 1 6 1-D Cellular Automata • Neighborhood • Black & White neighbors (States) • Rules • Example t = 1 t = 2 7 1-D Cellular Automata • Neighborhood • Black & White neighbors (States) • Rules • Example t = 1 t = 2 8 1-D Cellular Automata • Neighborhood • Black & White neighbors (States) • Rules • Example t = 1 t = 2 9 1-D Cellular Automata • Neighborhood • Black & White neighbors (States) • Rules • Example t = 1 t = 2 10 1-D Cellular Automata • Neighborhood • Black & White neighbors (States) • Rules • Example t = 1 t = 2 11 Wolfram Code Every cell and its two neighbors will be one of the following types Represent a black cell with 1 and a white cell with 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0 1 0 0 0 1 0 0 0 Every yellow cell above can be filled out with a 0 or a 1 giving a total of 2 8=256 possible update rules. This allows any string of eight 0s and 1’s to represent a dis9nct update rule Example: Consider the string 0 1 1 0 1 0 1 0 it can be taken to represent the update rule 1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0 1 0 0 0 1 0 0 0 0 1 1 0 1 0 1 0 Or equivalently Now think of 01101010 as the binary expansion of the number 0 27+ 1 26+ 1 25+ 0 24+1 23+ 0 22+ 1 21+ 0 20 = 64+32+8+2=106. So the update rule is rule # 106 Rule #45=32+8+4+1 = 0 27+ 0 26+ 1 25+ 0 24+1 23+ 1 22+ 0 21+ 1 20 =0 0 1 0 1 1 0 1 Rule #30=16+8+4+2 = 0 27+ 0 26+ 0 25+ 1 24+1 23+ 1 22+ 1 21+ 0 20 =0 0 0 1 1 1 1 0 This is a naming conven9on of the 256 dis9nct update rules by Stephen Wolfram, New Kind of Science. Notable rules in this class include rule 30, rule 110, and rule 184. Rule 90 is also interes9ng because it creates Pascal's Triangle modulo 2. Rule 110 is known to be Turing complete. This implies that, in principle, any calculaon or computer program can be simulated using this automaton. hp://en.wikipedia.org/wiki/Elementary_cellular_automaton Rule 30 Rule 90 Classes of cellular automata (Wolfram) Class 1: aer a finite number of 9me steps, the CA tends to achieve a unique state from nearly all possible star9ng condi9ons (limit points) Class 2: the CA creates paerns that repeat periodically or are stable (limit cycles) – probably equivalent to a regular grammar/finite state automaton Class 3: from nearly all star9ng condi9ons, the CA leads to aperiodic- chao9c paerns, where the stas9cal proper9es of these paerns are almost iden9cal (aer a sufficient period of 9me) to the star9ng paerns (self-similar fractal curves) – computes ‘irregular problems’ Class 4: aer a finite number of steps, the CA usually dies, but there are a few stable (periodic) paerns possible (e.g. Game of Life) - Class 4 CA are believed to be capable of universal computaon Conway’s Game of Life live dead 18 Conway’s Game of Life live dead 1. Any dead cell with exactly three live neighbors comes to life. 19 Conway’s Game of Life live dead 1. Any dead cell with exactly three live neighbors comes to life. 20 Conway’s Game of Life live dead 1. Any dead cell with exactly three live neighbors comes to life. 21 22 23 CA in AthenaCL • Standard: f{s} Discrete cell values, rules match cell formaons (neighborhoods) • Totalis9c: f{t} Discrete cell values, rules match the sum of the neighborhood • Connuous: f{c} Real-number cell values within unit interval, rules specify values added to the average of previous cell formaon • Float: f{f} Like con9nuous, but implemented with floats (it makes a difference) CA in AthenaCL • For f{s,t}: the k value provides the number of possible values • For f{c,f}: the k value is zero • r: number of neighbor cells taken into account (neighborhood = 2r+1) • x: size of CA space • y: number of generaons • sub-table is defined with width (w), center (c), and skip (s) • i: ini9alizaon as center or random Examples • auca f{s} 380 0 • auca f{s} 379 0 • auca f{t} 37 0 • auca f{t} 39 0 • auca f{c} .8523 0 • auca f{f} .254 0 • tpmap 100 cl,f{s},12,0,fria • auca f{s} 12 0 cl: use ac9ve cell index posi9ons to indicate ac9ve posi9ons of a scale C.1.17. caList (cl) fria: flatRowIndexAc9ve sra: sumRowAcve Example (cont.) emo m pin a 5@0|7@2,c2,c7 tmo ha 9n a 27 e d0 c,0 9e d1 cl,f{s},30,0,fria,oc e d2 c,1 e d3 c,1 e r pt,(c,1),(c,1),(c,1),(c,1) Creang a direct mapping • A common technique extracts two dimensional data from ac9ve (non-zero) cells: table columns are treated as discrete pitch values, or a scale, and table rows are treated as discrete 9me steps. An ac9ve cell is interpreted as an event with a pitch specified by the cell’s column; this pitch is sustained for as many rows as the specific column is ac9ve. 9e d1 cl,f{s},30,0,fria,oc 9e d2 cl,f{s},30,0,sra,oc 9e d3 cl,f{s},30,0,sra,oc tpmap 100 cl,f{s},30,0,fria,oc tpmap 100 cl,f{s},30,0,sra,oc See also • F.1.20. script07a.py: The CA as a Generator of Melodies • F.1.21. script07B.py: The CA as a Generator of Rhythms Addendum: Sieve • Residual class consists of two integer values, a modulus (M) and a shid (I): M@I • Logic operators are used to combine residual classes “|” OR, “&” AND, “^” XOR, “-” NOT 3@0 = [ . , –6, –3, 0, 3, 6, . ] 3@0 | 4@0 = [ . , 0, 3, 4, 6, 8, 9, 12, . ] 3@0 & 4@0 = [ . , 0, 12, 24, . ] 3@0 ^ 4@0 = [ . , –3, 3, 4, 6, 8, 9, 15, . ] Logic vs. Sets • XOR: (¬P∧Q)∨(P∧¬Q) • Symmetric Difference: (A∩BC)∪(B∩AC) • Let A△B denote the symmetric difference of the sets A and B. Given an object x, x∈A△B⟺(x∈A) XOR (x∈B). • In general, one has a correspondence between statements in set theory and statements in logic, e.g. • x∈A∪B⟺(x∈A) OR (x∈B) • x∈A∩B⟺(x∈A) AND (x∈B) • x∈Ac⟺NOT (x∈A) .
Recommended publications
  • On Soliton Collisions Between Localizations in Complex ECA: Rules 54 and 110 and Beyond
    On soliton collisions between localizations in complex ECA: Rules 54 and 110 and beyond Genaro J. Mart´ınez Departamento de Ciencias e Ingenier´ıade la Computaci´on, Escuela Superior de C´omputo,Instituto Polit´ecnico Nacional, M´exico Unconventional Computing Center, Computer Science Department, University of the West of England, Bristol BS16 1QY, United Kingdom genaro. martinez@ uwe. ac. uk Andrew Adamatzky Unconventional Computing Center, Computer Science Department, University of the West of England, Bristol BS16 1QY, United Kingdom andrew. adamatzky@ uwe. ac. uk Fangyue Chen School of Sciences, Hangzhou Dianzi University Hangzhou, Zhejiang 310018, P. R. China fychen@ hdu. edu. cn Leon Chua Electrical Engineering and Computer Sciences Department University of California at Berkeley, California, United States of America chua@ eecs. berkeley. edu In this paper we present a single-soliton two-component cellular au- tomata (CA) model of waves as mobile self-localizations, also known as: particles, waves, or gliders; and its version with memory. The model is based on coding sets of strings where each chain represents a unique mobile self-localization. We will discuss briefly the original soli- ton models in CA proposed with filter automata, followed by solutions in elementary CA (ECA) domain with the famous universal ECA Rule 110, and reporting a number of new solitonic collisions in ECA Rule 54. A mobile self-localization in this study is equivalent a single soliton because the collisions of these mobile self-localizations studied in this paper satisfies the property of solitonic collisions. We also present a arXiv:1301.6258v1 [nlin.CG] 26 Jan 2013 specific ECA with memory (ECAM), the ECAM Rule φR9maj:4, that displays single-soliton solutions from any initial codification (including random initial conditions) for a kind of mobile self-localization because such automaton is able to adjust any initial condition to soliton struc- tures.
    [Show full text]
  • Modeling Self-Organizing Traffic Lights with Elementary Cellular Automata
    Modeling self-organizing traffic lights with elementary cellular automata Carlos Gershenson1;2;3 and David A. Rosenblueth1;2 1 Instituto de Investigaciones en Matem´aticasAplicadas y en Sistemas Universidad Nacional Aut´onomade M´exico Ciudad Universitaria Apdo. Postal 20-726 01000 M´exicoD.F. M´exico Tel. +52 55 56 22 36 19 Fax +52 55 56 22 36 20 [email protected] http://turing.iimas.unam.mx/∼cgg [email protected] http://leibniz.iimas.unam.mx/∼drosenbl/ 2 Centro de Ciencias de la Complejidad Universidad Nacional Aut´onomade M´exico 3Centrum Leo Apostel, Vrije Universiteit Brussel Krijgskundestraat 33 B-1160 Brussel, Belgium July 10, 2009 Abstract There have been several highway traffic models proposed based on cellular au- tomata. The simplest one is elementary cellular automaton rule 184. We extend this model to city traffic with cellular automata coupled at intersections using only rules 184, 252, and 136. The simplicity of the model offers a clear understanding of the main properties of city traffic and its phase transitions. We use the proposed model to compare two methods for coordinating traffic lights: arXiv:0907.1925v1 [nlin.CG] 10 Jul 2009 a green-wave method that tries to optimize phases according to expected flows and a self-organizing method that adapts to the current traffic conditions. The self-organizing method delivers considerable improvements over the green-wave method. For low den- sities, the self-organizing method promotes the formation and coordination of platoons that flow freely in four directions, i.e. with a maximum velocity and no stops. For medium densities, the method allows a constant usage of the intersections, exploiting their maximum flux capacity.
    [Show full text]
  • Universality of Evolved Cellular Automata In-Materio
    Universality of Evolved Cellular Automata in-Materio STEFANO NICHELE12?,SIGVE SEBASTIAN FARSTAD1,GUNNAR TUFTE1 1 Department of Computer and Information Science, Norwegian University of Science and Technology, Norway 2 Department of Computer Science, Oslo and Akershus University College of Applied Sciences, Norway Received xxxxx; In final form xxxxx Evolution-in-Materio (EIM) is a method of using artificial evolu- tion to exploit physical properties of materials for computation. It has previously been successfully used to evolve a multitude of different computational devices implemented in physical ma- terials. One of the biggest problems in exploiting materials is finding a good computational abstraction to carry computation on top of the underlying physical process. This paper presents elementary cellular automata (CA) as a possible abstraction and presents successfully evolved CA transition functions in single- walled carbon nanotube (SWCNT) and polymer composite ma- terials. Such implementation allows reasoning about the compu- tational capabilities of materials and draw analogies with cellu- lar automata complexity and computation at the Edge of Chaos. This work is done within the European Project NASCENCE. Key words: Evolution-in-Materio, Cellular Automata, Edge of Chaos, Single-Walled Carbon Nanotubes, Complexity, Computational Materi- als. ? email: [email protected] 1 1 INTRODUCTION The natural evolutionary process, in stark contrast to the traditional human top-down building-block-oriented engineering approach, is not one of ab- straction, componentization and careful manipulation based on an under- standing of underlying mechanics. Rather, it is a ”blind-yet-guided” meta- heuristic approach able to exploit properties to create ”designs” without need- ing to understand them or the underlying mechanics that power them.
    [Show full text]
  • Apparent Entropy of Cellular Automata
    Apparent Entropy of Cellular Automata Bruno Martin Laboratoire d’Informatique et du Parallelisme,´ Ecole´ Normale Superieure´ de Lyon, 46, allee´ d’Italie, 69364 Lyon Cedex 07, France We introduce the notion of apparent entropy on cellular automata that points out how complex some configurations of the space-time diagram may appear to the human eye. We then study, theoretically, if possible, but mainly experimentally through natural examples, the relations between this notion, Wolfram’s intuition, and almost everywhere sensitivity to initial conditions. Introduction A radius-r one-dimensional cellular automaton (CA) is an infinite se- quence of identical finite-state machines (indexed by Ÿ) called cells. Each finite-state machine is in a state and these states change simultane- ously according to a local transition function: the following state of the machine is related to its own state as well as the states of its 2r neigh- bors. A configuration of an automaton is the function which associates to each cell a state. We can thus define a global transition function from the set of all the configurations to itself which associates the following configuration after one step of computation. Recently, a lot of articles proposed classifications of CAs [5, 8, 13] but the canonical reference is still Wolfram’s empirical classification [14] which has resisted numerous attempts of formalization. Among the lat- est attempts, some are based on the mathematical definitions of chaos for dynamical systems adapted to CAs thanks to Besicovitch topol- ogy [2, 6] and [11] introduces the almost everywhere sensitivity to initial conditions for this topology and compares this notion with information propagation formalization.
    [Show full text]
  • Investigation of Elementary Cellular Automata for Reservoir Computing
    Investigation of Elementary Cellular Automata for Reservoir Computing Emil Taylor Bye Master of Science in Computer Science Submission date: June 2016 Supervisor: Stefano Nichele, IDI Norwegian University of Science and Technology Department of Computer and Information Science Summary Reservoir computing is an approach to machine learning. Typical reservoir computing approaches use large, untrained artificial neural networks to transform an input signal. To produce the desired output, a readout layer is trained using linear regression on the neural network. Recently, several attempts have been made using other kinds of dynamic systems in- stead of artificial neural networks. Cellular automata are an example of a dynamic system that has been proposed as a replacement. This thesis attempts to discover whether cellular automata are a viable candidate for use in reservoir computing. Four different tasks solved by other reservoir computing sys- tems are attempted with elementary cellular automata, a limited subset of all possible cellular automata. The effect of changing different properties of the cellular automata are investigated, and the results are compared with the results when performing the same experiments with typical reservoir computing systems. Reservoir computing seems like a potentially very interesting utilization of cellular automata. However, it is evident that more research into this field is necessary to reach performance comparable to existing reservoir computing systems. i ii Acknowledgements I would like to express my very great appreciation to my supervisor, Dr. Stefano Nichele. His insights, guidance and encouragement has proven invaluable and vital to the comple- tion of this thesis. I would also like to offer my special thanks to Solveig Isabel Taylor, who apart from being an excellent proofreader, also did a marvelous job at helping me search for literature.
    [Show full text]
  • Arxiv:1607.02291V3 [Cs.FL] 8 May 2018
    Noname manuscript No. (will be inserted by the editor) A Survey of Cellular Automata: Types, Dynamics, Non-uniformity and Applications (Draft version) Kamalika Bhattacharjee · Nazma Naskar · Souvik Roy · Sukanta Das Received: date / Accepted: date Abstract Cellular automata (CAs) are dynamical systems which exhibit complex global be- havior from simple local interaction and computation. Since the inception of cellular au- tomaton (CA) by von Neumann in 1950s, it has attracted the attention of several researchers over various backgrounds and fields for modelling different physical, natural as well as real- life phenomena. Classically, CAs are uniform. However, non-uniformity has also been in- troduced in update pattern, lattice structure, neighborhood dependency and local rule. In this survey, we tour to the various types of CAs introduced till date, the different characteriza- tion tools, the global behaviors of CAs, like universality, reversibility, dynamics etc. Special attention is given to non-uniformity in CAs and especially to non-uniform elementary CAs, which have been very useful in solving several real-life problems. Keywords Cellular Automata (CAs) · Types · Characterization tools · Dynamics · Non-uniformity · Technology Mathematics Subject Classification (2010) 68Q80 · 37B15 1 Introduction From the end of the first half of 20th century, a new approach has started to come in scien- tific studies, which after questioning the so called Cartesian analytical approach, says that interconnections among the elements of a system, be it physical, biological, artificial or any other, greatly effect the behavior of the system. In fact, according to this approach, knowing the parts of a system, one can not properly understand the system as a whole.
    [Show full text]
  • Universality in Elementary Cellular Automata
    Universality in Elementary Cellular Automata Matthew Cook Department of Computation and Neural Systems,! Caltech, Mail Stop 136-93, Pasadena, California 91125, USA The purpose of this paper is to prove a conjecture made by Stephen Wolfram in 1985, that an elementary one dimensional cellular automaton known as “Rule 110” is capable of universal computation. I developed this proof of his conjecture while assisting Stephen Wolfram on research for A New Kind of Science [1]. 1. Overview The purpose of this paper is to prove that one of the simplest one di- mensional cellular automata is computationally universal, implying that many questions concerning its behavior, such as whether a particular se- quence of bits will occur, or whether the behavior will become periodic, are formally undecidable. The cellular automaton we will prove this for is known as “Rule 110” according to Wolfram’s numbering scheme [2]. Being a one dimensional cellular automaton, it consists of an infinitely long row of cells "Ci # i $ !%. Each cell is in one of the two states "0, 1%, and at each discrete time step every cell synchronously updates ' itself according to the value of itself and its nearest neighbors: &i, Ci ( F(Ci)1, Ci, Ci*1), where F is the following function: F(0, 0, 0) ( 0 F(0, 0, 1) ( 1 F(0, 1, 0) ( 1 F(0, 1, 1) ( 1 F(1, 0, 0) ( 0 F(1, 0, 1) ( 1 F(1, 1, 0) ( 1 F(1, 1, 1) ( 0 This F encodes the idea that a cell in state 0 should change to state 1 exactly when the cell to its right is in state 1, and that a cell in state 1 should change to state 0 just when the cells on both sides are in state 1.
    [Show full text]
  • Abstract Collection of the 2017 International Symposium on Nonlinear Theory and Its Applications (NOLTA2017)
    Abstract Collection of the 2017 International Symposium on Nonlinear Theory and its Applications (NOLTA2017) Cancun International Convention Center, Cancun,´ Mexico December 4–7, 2017. Abstract Collection of NOLTA2017 ⃝C IEICE Japan 2017 Typesetting: Data conversion by the authors. Final processing by T. Tsubone and W. Kurebayashi with LATEX. Printed in Japan 2 Contents Welcome Message from the General Chairs . 6 Technical Program Chair’s Message . 7 Organizing Committee . 8 Technical Program Committee . 9 Advisory Committee . 10 NOLTA Steering Committee . 11 Special Session Organizers . 12 Symposium Information . 14 Symposium Venue . 14 Social Events . 14 Session at a Glance . 16 Abstracts 19 A0L-A Plenary Talk 1 . 19 A1L-A Theory and Learning Applications of Koopman Operator Formalism . 19 A1L-B Systems Theory and its Applications . 20 A1L-C Complex systems, complex networks and bigdata analyses . 21 A1L-D Advanced Theory and Applications Related to Communication Quality . 23 A1L-E Neuromorphic Systems and Electronic Devices 1 . 24 A2L-A Network Function for Physically and Logically Coupled System . 25 A2L-B Circuits and Systems / Analog and digital devices . 26 A2L-C Neural Networks / Biological Engineering . 27 A2L-D Complex Communication Sciences 1 . 28 A2L-E Neuromorphic Systems and Electronic Devices 2 . 29 A3L-A Radio and Optical Wireless Communications 1 . 30 A3L-B Complex Networks and Systems / Image and Signal Processing . 32 A3L-C Laser Dynamics and Complex Photonics 1 . 34 A3L-D-1 Complex Communication Sciences 2 . 35 A3L-D-2 Complex Networks and Systems / Image and Signal Processing . 36 A3L-E-1 Neuromorphic Systems and Electronic Devices 3 . 37 A3L-E-2 Machine Learning / Evolutionary computations .
    [Show full text]
  • Lecture P4: Cellular Automata Arrays Allow Manipulation of Potentially Huge Amounts of Data
    Array Review Lecture P4: Cellular Automata Arrays allow manipulation of potentially huge amounts of data. ■ All elements of the same type. – double, int ■ N-element array has elements indexed 0 through N-1. ■ Fast access to arbitrary element. – a[i] ■ Waste of space if array is "sparse." Reaction diffusion textures. Andy Witkin and Michael Kass Princeton University • COS 126 • General Computer Science • Fall 2002 • http://www.Princeton.EDU/~cs126 2 Cellular Automata Applications of Cellular Automata Cellular automata. (singular = cellular automaton) Modern applications. ■ Computer simulations that try to emulate laws of nature. ■ Simulations of biology, chemistry, physics. ■ Simple rules can generate complex patterns. – ferromagnetism according to Ising mode – forest fire propagation – nonlinear chemical reaction-diffusion systems – turbulent flow John von Neumann. (Princeton IAS, 1950s) – biological pigmentation patterns ■ Wanted to create and simulate artificial – breaking of materials life on a machine. – growth of crystals ■ Self-replication. – growth of plants and animals ■ ■ "As simple as possible, but no simpler." Image processing. ■ Computer graphics. ■ Design of massively parallel hardware. ■ Art. 3 4 How Did the Zebra Get Its Stripes? One Dimensional Cellular Automata 1-D cellular automata. ■ Sequence of cells. ■ Each cell is either black (alive) or white (dead). ■ In each time step, update status of each cell, depending on color of nearby cells from previous time step. Example rule. Make cell black at time t if at least one of its proper neighbors was black at time t-1. time 0 time 1 time 2 Synthetic zebra. Greg Turk 5 6 Cellular Automata: Designing the Code Cellular Automata: The Code How to store the row of cells.
    [Show full text]
  • Elementary Cellular Automaton Calculus and Analysis Interactive Entries > Interactive Demonstrations >
    Search MathWorld Algebra Applied Mathematics Discrete Mathematics > Cellular Automata > Recreational Mathematics > Mathematical Art > Mathematical Images > elementary cellular automaton Calculus and Analysis Interactive Entries > Interactive Demonstrations > Discrete Mathematics THINGS TO TRY: Foundations of Mathematics Elementary Cellular Automaton elementary cellular automaton 39th prime Geometry do the algebraic units contain History and Terminology Sqrt[2]+Sqrt[3]? Number Theory Probability and Statistics Recreational Mathematics The simplest class of one-dimensional cellular automata. Elementary cellular automata have two possible values for each cell (0 or 1), and rules that depend only on nearest neighbor values. As a result, the evolution of an elementary Topology cellular automaton can completely be described by a table specifying the state a given cell will have in the next A Strategy for generation based on the value of the cell to its left, the value the cell itself, and the value of the cell to its right. Since Exploring k=2, r=2 Alphabetical Index there are possible binary states for the three cells neighboring a given cell, there are a total of Cellular Automata John Kiehl Interactive Entries elementary cellular automata, each of which can be indexed with an 8-bit binary number (Wolfram 1983, Random Entry 2002). For example, the table giving the evolution of rule 30 ( ) is illustrated above. In this diagram, Dynamics of an the possible values of the three neighboring cells are shown in the top row of each panel, and the resulting value the Elementary Cellular New in MathWorld central cell takes in the next generation is shown below in the center. generations of elementary cellular automaton Automaton rule are implemented as CellularAutomaton[r, 1 , 0 , n].
    [Show full text]
  • Global Properties of Cellular Automata
    Global properties of cellular automata Edward Jack Powley Submitted for the qualification of PhD University of York Department of Computer Science October 2009 Abstract A cellular automaton (CA) is a discrete dynamical system, composed of a large number of simple, identical, uniformly interconnected components. CAs were introduced by John von Neumann in the 1950s, and have since been studied extensively both as models of real-world systems and in their own right as abstract mathematical and computational systems. CAs can exhibit emergent behaviour of varying types, including universal computation. As is often the case with emergent behaviour, predicting the behaviour from the specification of the system is a nontrivial task. This thesis explores some properties of CAs, and studies the correlations between these properties and the qualitative behaviour of the CA. The properties studied in this thesis are properties of the global state space of the CA as a dynamical system. These include degree of symmetry, numbers of preimages (convergence of trajectories), and distances between successive states on trajectories. While we do not obtain a complete classifi- cation of CAs according to their qualitative behaviour, we argue that these types of global properties are a better indicator than other, more local, properties. 3 Contents Chapter 1. Introduction 11 Part 1. Literature review 15 Chapter 2. Cellular automata 17 2.1. Definition and dynamics 17 2.2. Example: Conway's Game of Life 19 2.3. 1-dimensional CAs and elementary CAs 21 2.4. Essentially different rules 23 2.5. Classification 26 2.6. Speed of propagation 29 2.7.
    [Show full text]
  • CSE 30151 Theory of Computing Fall 2017 Project: Cellular Automata
    CSE 30151 Theory of Computing Fall 2017 Project: Cellular Automata Version 1: Jan. 17, 2018 Contents 1 Overview 2 2 History 2 3 Defining a Cellular Automata 3 3.1 State . 3 3.2 Rules . 3 3.3 Topology . 4 3.4 1D CAs . 4 4 CAs to be Implemented 4 4.1 1D CA . 5 4.1.1 Codes . 5 4.1.2 Test Cases . 5 4.2 TwoD Totalistic CA . 6 4.3 TwoD General CA . 6 5 Documentation 7 5.1 readme-team . 7 5.2 Individual Machines . 7 5.3 teamwork-netid . 8 6 Submission 8 7 Grading 9 1 1 Overview You have all probably seen Conway's \Game of Life" [3] The purpose of this project is to introduce you to a generalization of that game, termed cellular automata or CA. In this paradigm there is a possibly infinite grid of cells which interact with each other via a set of rules that use some region around each cell. Depending on the size of the team, you will implement one or more CAs of varying complexity, and design initial configurations that produce \interesting" results. These implementations will then be run with varying initial conditions, and generate time series displays of the CAs. You are free to use C, C++, Python, or even your Arduino. Python in particular has proven in the past as perhaps the most efficient way to get decent working code (the overall goal). If you use Python, feel free to use the time, csv, sys, copy, itertools, and pygame modules. Use of any other modules requires preapproval of the instructor.
    [Show full text]