Lecture ISI_10 CELLULAR AUTOMATA INTRODUCTION. OUTLINE OF PRESENTATION Some facts from history Definition of Cellular Automata Parameters of Cellular.

Slides:



Advertisements
Similar presentations
NEURAL NETWORKS Perceptron
Advertisements

1 Stefano Redaelli LIntAr - Department of Computer Science - Unversity of Milano-Bicocca Space and Cellular Automata.
Cellular Automata (Reading: Chapter 10, Complexity: A Guided Tour)
Topology Optimization with ASAND-CA 1/20 Topology Optimization of Truss Structures using Cellular Automata with Accelerated Simultaneous Analysis and Design.
CELLULAR AUTOMATA Derek Karssenberg, Utrecht University, the Netherlands LIFE (Conway)
Lecture of Norm Margolus. Physical Worlds Some regular spatial systems: –1. Programmable gate arrays at the atomic scale –2. Fundamental finite-state.
Cellular Automata MATH 800 Fall “Cellular Automata” 588,000 results in 94,600 results in 61,500 results in 2.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
An Introduction to Cellular Automata
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Joanne Turner 15 Nov 2005 Introduction to Cellular Automata.
Lectures on Cellular Automata Continued Modified and upgraded slides of Martijn Schut Vrij Universiteit Amsterdam Lubomir Ivanov Department.
Today’s Plan Introduction to Artificial Life Cellular Automata
Cellular Automata Orit Moskovich
Introduction At the heart of the growth of a multi-cellular organism is the process of cellular division… … aka (in computing) self-replication.
Two Dimensions and Beyond From: “ A New Kind of Science” by Stephen Wolfram Presented By: Hridesh Rajan.
Nawaf M Albadia Introduction. Components. Behavior & Characteristics. Classes & Rules. Grid Dimensions. Evolving Cellular Automata using Genetic.
Parallelization: Conway’s Game of Life. Cellular automata: Important for science Biology – Mapping brain tumor growth Ecology – Interactions of species.
CITS4403 Computational Modelling Fractals. A fractal is a mathematical set that typically displays self-similar patterns. Fractals may be exactly the.
Cellular Automata Modeling Environment & Library Lev Naumov
The Role of Artificial Life, Cellular Automata and Emergence in the study of Artificial Intelligence Ognen Spiroski CITY Liberal Studies 2005.
Dynamic Models of Segregation
Lecture 8 – Stencil Pattern Stencil Pattern Parallel Computing CIS 410/510 Department of Computer and Information Science.
More Accurate Rate Estimation CS 170: Computing for the Sciences and Mathematics.
Indiana GIS Conference, March 7-8, URBAN GROWTH MODELING USING MULTI-TEMPORAL IMAGES AND CELLULAR AUTOMATA – A CASE STUDY OF INDIANAPOLIS SHARAF.
Governor’s School for the Sciences Mathematics Day 13.
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
Course material – G. Tempesti Course material will generally be available the day before the lecture Includes.
1 Cellular Automata and Applications Ajith Abraham Telephone Number: (918) WWW:
Monte Carlo Methods Versatile methods for analyzing the behavior of some activity, plan or process that involves uncertainty.
Centre for Advanced Spatial Analysis (CASA), UCL, 1-19 Torrington Place, London WC1E 6BT, UK web Talk.
Introduction to Lattice Simulations. Cellular Automata What are Cellular Automata or CA? A cellular automata is a discrete model used to study a range.
Playing God: The Engineering of Functional Designs in the Game of Life Liban Mohamed Computer Systems Research Lab
Cellular Automata Spatio-Temporal Information for Society Münster, 2014.
Cellular Automata & DNA Computing 우정철. Definition Of Cellular Automata Von Von Neuman’s Neuman’s Definition Wolfram’s Wolfram’s Definition Lyman.
CELLULAR AUTOMATA A Presentation By CSC. OUTLINE History One Dimension CA Two Dimension CA Totalistic CA & Conway’s Game of Life Classification of CA.
Trust Propagation using Cellular Automata for UbiComp 28 th May 2004 —————— Dr. David Llewellyn-Jones, Prof. Madjid Merabti, Dr. Qi Shi, Dr. Bob Askwith.
REVERSIBLE CELLULAR AUTOMATA WITHOUT MEMORY Theofanis Raptis Computational Applications Group Division of Applied Technologies NCSR Demokritos, Ag. Paraskevi,
Cellular Automata Martijn van den Heuvel Models of Computation June 21st, 2011.
Model Iteration Iteration means to repeat a process and is sometimes referred to as looping. In ModelBuilder, you can use iteration to cause the entire.
Cellular Automata. John von Neumann 1903 – 1957 “a Hungarian-American mathematician and polymath who made major contributions to a vast number of fields,
Akram Bitar and Larry Manevitz Department of Computer Science
4th International Conference on High Performance Scientific Computing 4th International Conference on High Performance Scientific Computing A Framework.
Cellular Automata Introduction  Cellular Automata originally devised in the late 1940s by Stan Ulam (a mathematician) and John von Neumann.  Originally.
Cellular Automata Martijn van den Heuvel Models of Computation June 21st, 2011.
Pedro R. Andrade Münster, 2013
Introduction to Models Lecture 8 February 22, 2005.
제 4 주. Cellular Automata A Brief history of Cellular Automata P. Sarkar, ACM Computing Surveys, vol. 32, no. 1, pp. 80~107, 2000 학습목표 계산도구로서의 Cellular.
Discrete, Amorphous Physical Models Erik Rauch Digital Perspectives on Physics Workshop.
MA354 Math Modeling Introduction. Outline A. Three Course Objectives 1. Model literacy: understanding a typical model description 2. Model Analysis 3.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
A Presentation on Adaptive Neuro-Fuzzy Inference System using Particle Swarm Optimization and it’s Application By Sumanta Kundu (En.R.No.
Application of a CA Model to Simulate the Impacts of Road Infrastructures on Urban Growth Nuno Pinto and António Antunes, University of Coimbra with Josep.
Spatio-Temporal Information for Society Münster, 2014
L – Modeling and Simulating Social Systems with MATLAB
Hiroki Sayama NECSI Summer School 2008 Week 3: Methods for the Study of Complex Systems Cellular Automata Hiroki Sayama
Cellular Automata Pedro R. Andrade Tiago Garcia de Senna Carneiro
On Routine Evolution of Complex Cellular Automata
L – Modeling and Simulating Social Systems with MATLAB
Pedro Ribeiro de Andrade Münster, 2013
Pedro R. Andrade Münster, 2013
L – Modeling and Simulating Social Systems with MATLAB
Cellular Automata.
Pedro R. Andrade Münster, 2013
Spatio-temporal information in society: cellular automata
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Cellular Automata Hiroki Sayama
Excursions into Logic Based Computation using Conway’s Game of Life
The Engineering of Functional Designs in the Game of Life
Alloy = FOL + transitive closure + sets + relations
Cellular Automata (CA) Overview
Presentation transcript:

Lecture ISI_10 CELLULAR AUTOMATA INTRODUCTION

OUTLINE OF PRESENTATION Some facts from history Definition of Cellular Automata Parameters of Cellular Automata Cellular Automata approach - examples Conclusions

HISTORY OF CELLULAR AUTOMATA The first Cellular Automata was formally established by John Von Neumann and Stanisław Ulam in late 1940 In 1970, John Conway published his Game of Life which popularized Cellular Automata among researchers The 80’s was the time, when Stephen Wolfram exhaustively examined linear CA, and introduced first formal classification of cellular automata

CELLULAR AUTOMATA - DEFINITION Regular lattice of cell in n-dimensional space Set of states of single cell, usually the same for all cells Set of local transition rules which define next state of cell as a function of cell and neighborhood previous states. CELLS STATES RULES

DIMENSION OF CELLULAR AUTOMATA One dimensional CA Best known Easy to implement Limited use Two dimensional CA Most use Some problems with implementation Three dimensional CA Worst known Needs a lot of computational power The future of CA Approach

SIZE OF CELLULAR AUTOMATA The bigger the best result is obtained The bigger... the more system resources is need the execution of single iteration takes more time the more output data to analyze Size L in 1D CA is the number of cells Size L in 2D CA is the number of columns, if n columns = m rows To compromise the size is need and the size we can handle we have to examine “Size Effect”

Elementary 1D automat komórkowy Elementary Cellular Automaton Najprostszy możliwy jednowymiarowy automat (1D_CA). Każda komórka ma dwa możliwe stany (0 lub 1), zaś reguły rządzące stanem komórki zależą od wartości w trzech sąsiednich komórkach. Istnieje 256 (2^8) różnych elementarnych CA. Wolfram dokonał klasyfikacji tych reguł. Np. rules {#30} = {(0, 0, 0) -> 0, (0, 0, 1)-> 1, (0, 1, 0)-> 1, (0, 1, 1)-> 1, (1, 0, 0)-> 1, (1, 0, 1)-> 0, (1, 1, 0)-> 0, (1, 1, 1)-> 0};

LATTICE GEOMETRY (periodic ones) Cartesian Rectangular Triangular Hexagonal Linear

LATTICE GEOMETRY (aperiodic ) Voronoi Tessellation

MAPPING PROBLEM IN NONE RECTANGULAR LATTICE GEOMETRY We implement Cellular Automata model using common data structure which are linear (vector) or Cartesian rectangular like (vector of vectors). So the input and output data are always array like. When one deals with none rectangular lattice then it is need to define a mapping scheme to rewrite e.g. triangular lattice data into rectangular like data structures.

SOME MAPPING SCHEMA

NEIGHBOURHOODS Von Neumann neighborhood of R=1 Wolfram neighborhood of R=1 Moore neighborhood of R=1 R=2

EXOTIC NEIGHBOURHOODS Arbitrary neighborhood Pair of Cells neighborhood Directed neighborhood

NEIGHBOURHOODS OF NONE RECTANGULAR LATTICE GEOMETRY Triangular lattice neighborhoods Hexagonal lattice neighborhoods

NEIGHBOURHOOD CATASTROPHE PROBLEM When rule is applied, one occurs problem for some cells, as follow:

NEIGHBOURHOOD CATASTROPHE PROBLEM There are many method to avoid this:

NEIGHBOURHOOD CATASTROPHE PROBLEM At most, the the first and the last cells are connected each other: Then one obtains periodic boundary condition:

NEIGHBOURHOOD CATASTROPHE PROBLEM Absorbing boundary condition: In boundary cells, rules are modified to not include missing cells

PERIODIC BOUNDARY CONDITION FOR TWO DIMENSIONAL AUTOMATA The concept is to stick together the first and the last column and rows respectively:

TIME EVOLUTION IN CELLULAR AUTOMATA Synchronous cell updating: apply rule to considered cell and the new state of cell write to secondary array (*) repeat * for each cell rewrite whole secondary array into primary array

TIME EVOLUTION IN CELLULAR AUTOMATA Asynchronous cell updating: apply rule to randomly chosen cell (*) If time domain is necessary, repeat * n-times, where n is the number of all cells iteration is done, after n samplings No need for secondary array, so no danger of lack of memory No artifact, pattern formation in some models Not so easy to implement in parallel system

TRANSITION RULES Rules based on: Differential equation Finite difference equation A function A logic statement Main classification: Deterministic rules Probabilistic rules Fuzzy rules

TRANSITION RULES - EXAMPLES Cooling of solid solid bar 400 iterations

TRANSITION RULES - EXAMPLES Simple Model of Forest Fire Propagation

INITIAL CONDITIONS Random initial condition In predator-prey CA Model, random initial condition leads to cluster formation. What is more random condition makes oscillations become more periodic. Clusters make chaotic oscillations.

INITIAL CONDITIONS Non random initial condition In some predator-prey CA Models, non random local cells configurations at initial state leads to propagate waves or spirals formation. This effect is also observed in some chemical reaction.

CELLULAR AUTOMATA APPROACH - EXAMPLES Hydrodynamics Lattice Gas Chemical reaction (Gray Scott Model)

CELLULAR AUTOMATA APPROACH - EXAMPLES Social model of two opinion formation dynamics. It starts from random initial condition, after a number of iterations: Segregation Suspicious like

CELLULAR AUTOMATA APPROACH - EXAMPLES Evacuation simulation Concrete destruction

PREDATOR-PREY MODEL - CELLULAR AUTOMATA APPROACH The predator-prey model introduced by Lotka and Voltera: (1)

PREDATOR-PREY MODEL - CELLULAR AUTOMATA APPROACH

PREDATOR-PREY MODEL - RESULTS COMPARISON Equation (1) solved by Runge-Kutta 4th order method:

PREDATOR-PREY MODEL - RESULTS COMPARISON Real observations:

PREDATOR-PREY MODEL - RESULTS COMPARISON Cellular Automata simulations:

TRAFFIC FLOW SIMULATION One dimensional synchronous linear cellular automata Boundary condition - periodic asymmetric neighborhood deterministic rules and fuzzy rules

TRAFFIC FLOW SIMULATION - NEW CONCEPT OF RULE Fuzzy rule based on fuzzy controlling:

TRAFFIC FLOW SIMULATION - RESULTS OF SIMULATIONS Real observations Cellular Automata simulations

OIL SLICK SPREADING SIMULATION Previous research: Karafyllidis, I. (1997): A model for prediction of oil slick movement and spreading using cellular automata. Environment International, 23 (6),

OIL SLICK SPREADING SIMULATION Our last research :

CONCLUSIONS We can model a wide range of physical (not only) phenomena Sometimes its much easier to describe complex system using real life language instead of dealing with differential equations This description can be easily translated into set of states and rules We don’t know directly how long is one iteration, how much it is a cell, what is the real character of the state Obtaining quantitative results is a problem Fortunately, sometimes qualitative results satisfy researcher as well Assistance of Mr. M.Burzyński from UKW, Bydgoszcz, in preparation of the presentation is highly appreciated.