Continuous Spatial Automata

Similar documents
XX Eesti Arvutiteaduse Talvekool

arxiv:cond-mat/ v4 [cond-mat.soft] 23 Sep 2002

Modelling with cellular automata

Note that numerically, with white corresponding to 0 and black to 1, the rule can be written:

Cellular automata are idealized models of complex systems Large network of simple components Limited communication among components No central

Cellular Automata. History. 1-Dimensional CA. 1-Dimensional CA. Ozalp Babaoglu

Project 1: Edge of Chaos in 1D Cellular Automata

biologically-inspired computing lecture 12 Informatics luis rocha 2015 INDIANA UNIVERSITY biologically Inspired computing

Extension of cellular automata by introducing an algorithm of recursive estimation of neighbors

Katholieke Universiteit Leuven Department of Computer Science

CS 420/594: Complex Systems & Self-Organization Project 1: Edge of Chaos in 1D Cellular Automata Due: Sept. 20

ONE DIMENSIONAL CELLULAR AUTOMATA(CA). By Bertrand Rurangwa

Cellular Automata CS 591 Complex Adaptive Systems Spring Professor: Melanie Moses 2/02/09

15-251: Great Theoretical Ideas in Computer Science Lecture 7. Turing s Legacy Continues

Mitchell Chapter 10. Living systems are open systems that exchange energy, materials & information

Stream Ciphers. Çetin Kaya Koç Winter / 20

MATHS & STATISTICS OF MEASUREMENT

Procedures for calculating reversible one-dimensional cellular automata

Introduction to Scientific Modeling CS 365, Fall 2011 Cellular Automata

Optimal Shape and Topology of Structure Searched by Ants Foraging Behavior

Problem Set Number 01, MIT (Winter-Spring 2018)

Discrete Tranformation of Output in Cellular Automata

BINARY MORPHOLOGY AND CELLULAR AUTOMATA

Analysis II: The Implicit and Inverse Function Theorems

QUALIFYING EXAMINATION Harvard University Department of Mathematics Tuesday August 31, 2010 (Day 1)

Cantor s 1874 Proof of Non- Denumerability - English Translation

High Dimensional Inverse Covariate Matrix Estimation via Linear Programming

Integration - Past Edexcel Exam Questions

Logic Programming for Cellular Automata

Cellular Automata: Tutorial

In particular, if A is a square matrix and λ is one of its eigenvalues, then we can find a non-zero column vector X with

The Game (Introduction to Digital Physics) *

The Fixed String of Elementary Cellular Automata

The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION GEOMETRY. Wednesday, June 19, :15 a.m. to 12:15 p.m.

SOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY 31 OCTOBER 2018

QUEEN S COLLEGE Yearly Examination,

A Colorful Introduction to Cellular Automata

2. If the discriminant of a quadratic equation is zero, then there (A) are 2 imaginary roots (B) is 1 rational root

Cellular Automata and Tilings

CBSSS 6/24/02. Physics becomes the. Computing Beyond Silicon Summer School. computer. Norm Margolus

A SEARCH FOR INVARIANT RELATIVE SATELLITE MOTION

Image Encryption and Decryption Algorithm Using Two Dimensional Cellular Automata Rules In Cryptography

Final Year M.Sc., Degree Examinations

Complexity Classes in the Two-dimensional Life Cellular Automata Subspace

A Model of Evolutionary Dynamics with Quasiperiodic Forcing

Web Appendix for Hierarchical Adaptive Regression Kernels for Regression with Functional Predictors by D. B. Woodard, C. Crainiceanu, and D.

Dynamics and Chaos. Melanie Mitchell. Santa Fe Institute and Portland State University

CELLULAR AUTOMATA WITH CHAOTIC RULE FORMATION AND ITS CHARACTERISTICS ABSTRACT

You must have: Ruler graduated in centimetres and millimetres, protractor, compasses, pen, HB pencil, eraser, calculator. Tracing paper may be used.

Technique 1: Volumes by Slicing

An Undergraduate s Guide to the Hartman-Grobman and Poincaré-Bendixon Theorems

Double Integrals. P. Sam Johnson. February 4, P. Sam Johnson (NIT Karnataka) (NIT Karnataka) Double Integrals February 4, / 57

Math 216 First Midterm 19 October, 2017

II. Cellular Automata 8/27/03 1

From Glider to Chaos: A Transitive Subsystem Derived From Glider B of CA Rule 110

Verulam School Mathematics. Year 9 Revision Material (with answers) Page 1

Some Aspects of Solutions of Partial Differential Equations

ST5215: Advanced Statistical Theory

A2 HW Imaginary Numbers

Cellular Automata. Jarkko Kari Spring University of Turku

exceptional value turns out to be, "RAC" CURVATURE calling attention especially to the fundamental Theorem III, and to emphasize

Are chaotic systems dynamically random?

Büchi Automata and Linear Temporal Logic

Cell-based Model For GIS Generalization

Geometry of Crystal Lattice

Equational Theory of Kleene Algebra

= , AD = 1, BE = 1, and F G = 1. By Pythagoras, BD = AB 2 + AD 2 = 2. By similar triangles on DEF and ABD, we have that AF.

Recursive definitions on surreal numbers

4.Let A be a matrix such that A. is a scalar matrix and Then equals :

Kolmogorov structure functions for automatic complexity

Cauchy Integral Formula Consequences

Sphere Packings, Coverings and Lattices

Periodic Cellular Automata of Period-2

Discrete Event Systems Exam

1 Multiplicity of the ideal gas

Lecture 15 - Orbit Problems

CHURCH SYNTHESIS PROBLEM and GAMES

On Dissipative Quadratic Stochastic Operators

Math Level 2. Mathematics Level 2

Notes on State Minimization

Getting Started with Communications Engineering

The Dirichlet boundary problems for second order parabolic operators satisfying a Carleson condition

Cellular Automata. Jason Frank Mathematical Institute

Complex Interactions in One-dimensional Cellular Automata and Linguistic Constructions

Radial View: Observing Fuzzy Cellular Automata with a New Visualization Method

2.31 Definition By an open cover of a set E in a metric space X we mean a collection {G α } of open subsets of X such that E α G α.

A Time Hierarchy for Bounded One-Way Cellular Automata

Jim Lambers MAT 610 Summer Session Lecture 2 Notes

CS2800 Fall 2013 October 23, 2013

Cellular automata, tilings and (un)computability

Learning Cellular Automaton Dynamics with Neural Networks

Turing s Legacy Continues

Errata for Robot Vision

Mathematics for Graphics and Vision

THE NCUK INTERNATIONAL FOUNDATION YEAR (IFY) Further Mathematics

Finite Difference Solution of the Heat Equation

Any live cell with less than 2 live neighbours dies. Any live cell with 2 or 3 live neighbours lives on to the next step.

1 The Derivative and Differrentiability

DESIGNING CNN GENES. Received January 23, 2003; Revised April 2, 2003

Cellular Automata. ,C ) (t ) ,..., C i +[ K / 2] Cellular Automata. x > N : C x ! N. = C x. x < 1: C x. = C N+ x.

Transcription:

Continuous Spatial Automata B. J. MacLennan Department of Computer Science University of Tennessee Knoxville, TN 37996-1301 maclennan@cs.utk.edu CS-90-121 November 26, 1990 Abstract A continuous spatial automaton is analogous to a cellular automaton, except that the cells form a continuum, as do the possible states of the cells. After an informal mathematical description of spatial automata, we describe in detail a continuous analog of Conway s Life, and show how the automaton can be implemented using the basic operations of field computation. 1 Introduction A continuous spatial automaton is the continuous analog of a cellular automaton [Codd]. Typically a cellular automaton has a finite (sometimes denumerably infinite) set of cells, often arranged in a one or two dimensional array. Each cell can be in one of a number of states. In contrast, a continuous spatial automaton has a one, two or higher dimensional continuum Ω of loci x Ω (corresponding to cells), each of which has a state σ x drawn from a continuum (typically [0, 1]). The state is required to vary continuously with the locus, which means that σ : Ω [0, 1] is continuous. We make the additional stipulation that σ have a finite L 2 norm, which makes it a field and allows us to apply the theory of field computation [MacLennan, p. 12]. We write Φ(Ω) for the set of all fields over Ω. In a cellular automaton there is a transition function that determines the state of a cell at the next time step based on the state of it and a finite number of neighbors at the current time step. A discrete-time spatial automaton is very similar: the future state of a locus is a continuous function of the states of the loci in a (closed or open) 1

bounded neighborhood of the given locus. A continuous-time spatial automaton is much the same, except that the states change continuously in time, rather than at discrete time intervals. It is usually convenient to assume that all the neighborhoods are the same shape, i.e., they are all translations of each other. Unfortunately this conflicts with an assumption of field computation, namely that the domain Ω is closed and bounded [MacLennan, p. 10], since boundary points and interior points have neighborhoods of different shapes. Thus we must make some provision for edge effects; typical solutions are discussed below. 2 Example An example will illustrate continuous spatial automata. Consider Conway s Game of Life, a well-known two-dimensional cellular automaton with binary states [Gardner]. The new state of a cell is determined by a population density rule. Let n be the number of the eight surrounding cells in state 1. Then, if n 1 or n 3, the new state is 0, otherwise it is 1 if n = 3 and unchanged from its previous state if n = 2. Much of the complexity of Life results from the fact that the transition rule is nonmonotonic (and hence nonlinear) in the population density. 2.1 Continuous Life Now we consider a discrete-time, continuous analog of Life. For convenience we take the set of loci to be Ω = [0, 1] 2, so that the state of the automaton is σ Φ(Ω). The future state at locus x Ω is based on the states of the loci in a neighborhood N x of x. For example, N x could be a circle of radius ɛ centered at x (with appropriate provisions for edge effects): N x = {y Ω x y ɛ}. There are several ways to handle edge effects. One approach, common in cellular automata, is to treat Ω as a torus, thus extending σ to function ˆσ, defined on the infinite plane ˆΩ = R 2, by: ˆσ(i + x, j + y) = σ(x, y) for 0 x < 1, 0 y < 1, and i, j integers. Continuity of ˆσ requires that the edges of σ match, but this is easily accomplished. Another way to extend σ to the infinite plane is to assume it is constant outside of [0, 1] 2. By analogy with Life we will make the new state at x a nonmonotonic function ζ of the population density ψ x in the neighborhood N x. The function ζ : [0, 1] [0, 1] 2

is defined by a parameter m, 0 < m < 1, and has the following properties: ζ(0) = 0 ζ(1) = 0 ζ(m) = 1 ζ (p) 0 for 0 p m ζ (p) 0 for m p 1. This means that ζ(p) increases continuously from 0 at p = 0 to 1 at p = m, and then decreases continuously to 0 at p = 1. 1 Since the population density ψ x around x is just the average of σ over N x we can write the new state σ Φ(Ω) as follows: σ x = ζ ( N x σ y dy N x dy ) ( 1 ) = ζ σ y dy, ax N x where a x = N x dy is the area of N x. Next we define a neighborhood aggregation operator A : Φ(Ω) Φ(Ω) to compute the field ψ: Then σ x = ζ(ψ x ), so we may write A(σ) = ψ where ψ x = 1 a x N x σ y dy. σ = ζ(ψ) where ζ : Φ(Ω) Φ(Ω) is the local transformation ζ(ψ) that applies ζ at each point of ψ [MacLennan, p. 48]. Hence the state transition operator T : Φ(Ω) Φ(Ω) is defined T (σ) = σ = ζ[a(σ)], or T = ζ A. 2.2 Computing ζ There are several candidates for ζ; perhaps the simplest is a parabola (possibly rotated) with maximum (m, 1) and passing through the points (0, 0) and (1, 0). Such a parabolic nonlinearity can result in very complex indeed, chaotic dynamics [Hofbauer & Sigmund, pp. 35 40]. In the simplest case, where m = 1/2, we have ζ(p) = 4p(1 p). Hence we can express ζ directly by the field computation ζ(ψ) = 4ψ (1 ψ), where denotes local product [MacLennan, p. 40]: (φ ψ) x = φ x ψ x. 1 The closest analogy to the standard version of Life has m = 3/8. 3

2.3 Computing A Our next task is to find a way to compute the aggregation operator A. Let ν Φ(Ω) be the field { a 1 if x N ν x = 0 0 otherwise where N 0 is the neighborhood of the origin and a = a 0 is the area of N 0. For circular neighborhoods we have: ν (x1,x 2 ) = { 1/πɛ 2 if x 2 1 + x 2 2 ɛ 2 0 otherwise Although this function is discontinuous, it can be approximated arbitrarily closely by continuous fields. 2 If all neighborhoods are translations of N 0 we have Since for all x, a x = a, we have y N x iff y x N 0 iff ν y x = a 1. [A(σ)] x = ψ x = a 1 σ y dy N x = = x a 1 σ y dy N x ν y xˆσ y dy ˆΩ = (ν ˆσ) x where ν ˆσ is the correlation of ν and ˆσ, the result of which we assume to be restricted to Ω. Alternately we could do a convolution with ν where ν x = ν x : Hence the new state is defined by A(σ) = ν ˆσ = ν ˆσ. σ = T (σ) = ζ(ν ˆσ). If we use the m = 1/2 parabola, then the new state is computed in two steps: ψ = ν ˆσ σ = 4ψ (1 ψ) Use of other values of m is a straight-forward extension, as is the use of other ζ functions. 2 Indeed, this definition suggests a generalization in which ν is any probability density function. 4

2.4 Simulation Tomislav Goles has implemented a version of the continuous Life system described above. As expected it exhibits interestingand complex behavior, including the formation of strings and networks of high-density regions (Figs. 1 4). The scale of these structures seems to be closely related to the neighborhood radius. Details of the implementation can be found in Goles MS thesis [Goles]. References [Codd] Codd, E. F. Cellular Automata. Academic Press, NY, 1968. [Gardner] Gardner, Martin. Mathematical Games: The Fantastic Combinations of John Conway s New Solitaire Game Life. Scientific American 223, 4 (October 1970), pp. 120 123. [Goles] Goles, Tomislav, General Purpose Field Computer Simulator. MS thesis, Computer Science Department, University of Tennessee, Knoxville, December 1990. [Hofbauer & Sigmund] Hofbauer, Josef, and Sigmund, Karl. The Theory of Evolution and Dynamical Systems, London Mathematical Society Student Texts 7. Cambridge University Press, Cambridge UK, 1984. [MacLennan] MacLennan, B. J. Field Computation: A Theoretical Framework for Massively Parallel Analog Computation, Parts I IV. University of Tennessee, Knoxville, Computer Science Department Technical Report CS-90-100, February 1990. 5

Figure 1: Typical State, Ω = [0, 1] 2, ɛ = 0.02 6

Figure 2: Typical State, Ω = [0, 1] 2, ɛ = 0.02 7

Figure 3: Typical State, Ω = [0, 1] 2, ɛ = 0.04 8

Figure 4: Typical State, Ω = [0, 1] 2, ɛ = 0.04 9