Cellular Automata Introduction  Cellular Automata originally devised in the late 1940s by Stan Ulam (a mathematician) and John von Neumann.  Originally.

Slides:



Advertisements
Similar presentations
Chapter 8 Geocomputation Part A:
Advertisements

Cellular Automata Various credits for these slides: Ajit Narayanan, Rod Hunt, several more.
Sharks and Fishes – The problem
Cellular Automata: Life with Simple Rules
Cellular Automata COMP308 Unconventional models and paradigms.
Game of Life Rules and Games Linh Tran ECE 573. What is Life? Life is just one example of a cellular automaton, which is any system in which rules are.
1 Stefano Redaelli LIntAr - Department of Computer Science - Unversity of Milano-Bicocca Space and Cellular Automata.
Slides for Parallel Programming Techniques & Applications Using Networked Workstations & Parallel Computers 2nd ed., by B. Wilkinson & M
Introduction to Parallel Processing Final Project SHARKS & FISH Presented by: Idan Hammer Elad Wallach Elad Wallach.
Cellular Automata (Reading: Chapter 10, Complexity: A Guided Tour)
1 Chapter 13 Artificial Life: Learning through Emergent Behavior.
CELLULAR AUTOMATON Presented by Rajini Singh.
CELLULAR AUTOMATA Derek Karssenberg, Utrecht University, the Netherlands LIFE (Conway)
Cellular Automata MATH 800 Fall “Cellular Automata” 588,000 results in 94,600 results in 61,500 results in 2.
Joanne Turner 15 Nov 2005 Introduction to Cellular Automata.
CS305j Introduction to Computing Two Dimensional Arrays 1 Topic 22 Two Dimensional Arrays "Computer Science is a science of abstraction -creating the right.
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
Cellular Automata This is week 7 of Biologically Inspired Computing Various credits for these slides, which have in part been adapted from slides by:
Introduction At the heart of the growth of a multi-cellular organism is the process of cellular division… … aka (in computing) self-replication.
Nawaf M Albadia Introduction. Components. Behavior & Characteristics. Classes & Rules. Grid Dimensions. Evolving Cellular Automata using Genetic.
Pablo Cristian Tissera, Marcela Printista, Marcelo Luis Errecalde Lab. de Investigacion y Desarrollo en Inteligencia Computacional (LIDIC) Universidad.
Parallelization: Conway’s Game of Life. Cellular automata: Important for science Biology – Mapping brain tumor growth Ecology – Interactions of species.
Discovery of Cellular Automata Rules Using Cases Ken-ichi Maeda Chiaki Sakama Wakayama University Discovery Science 2003, Oct.17.
The Role of Artificial Life, Cellular Automata and Emergence in the study of Artificial Intelligence Ognen Spiroski CITY Liberal Studies 2005.
1 Cellular Automata. 2 Introduction What are Cellular Automata? CA are discrete dynamic systems. CA's are said to be discrete because they operate in.
Multiscale Modelling Mateusz Sitko
Governor’s School for the Sciences Mathematics Day 13.
CS 484 – Artificial Intelligence1 Announcements Lab 4 due today, November 8 Homework 8 due Tuesday, November 13 ½ to 1 page description of final project.
Trajectories and attractor basins as a behavioral description and evaluation criteria for artificial EvoDevo systems Stefano Nichele – October 14, 2009.
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:
Centre for Advanced Spatial Analysis (CASA), UCL, 1-19 Torrington Place, London WC1E 6BT, UK web Talk.
1 Chapter 13 Artificial Life: Learning through Emergent Behavior.
Introduction to Lattice Simulations. Cellular Automata What are Cellular Automata or CA? A cellular automata is a discrete model used to study a range.
Topic 26 Two Dimensional Arrays "Computer Science is a science of abstraction -creating the right model for a problem and devising the appropriate mechanizable.
Cellular Automata. The Game The Game of Life is not your typical computer game. It is a 'cellular automation', and was invented by the Cambridge mathematician.
Aftificial Life: Celular Automata Dr. Shazzad Hosain Department of EECS North South Universtiy
Cellular Automata Spatio-Temporal Information for Society Münster, 2014.
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.
Cellular Automata Martijn van den Heuvel Models of Computation June 21st, 2011.
The Game of Life Erik Amelia Amy. What is the “Game of Life?” The “Game of Life” (often referred to as Life) is not your typical game. There are no actual.
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,
Agent Based Modeling (ABM) in Complex Systems George Kampis ETSU, 2007 Spring Semester.
4th International Conference on High Performance Scientific Computing 4th International Conference on High Performance Scientific Computing A Framework.
Cellular Automata FRES 1010 Eileen Kraemer Fall 2005.
Cellular Automata Martijn van den Heuvel Models of Computation June 21st, 2011.
Pedro R. Andrade Münster, 2013
Cellular Automata Biologically Inspired Computing Various credits for these slides, which have in part been adapted from slides by: Ajit Narayanan, Rod.
Cellular Automata This is week 7 of Biologically Inspired Computing Various credits for these slides, which have in part been adapted from slides by:
1 Cellular Automata What could be the simplest systems capable of wide-ranging or even universal computation? Could it be simpler than a simple cell?
Conway’s Game of Life Jess Barak Game Theory. History Invented by John Conway in 1970 Wanted to simplify problem from 1940s presented by John von Neumann.
1 1 2 What is a Cellular Automaton? A one-dimensional cellular automaton (CA) consists of two things: a row of "cells" and a set of "rules". Each of.
Chaotic Behavior - Cellular automata
Spatio-Temporal Information for Society Münster, 2014
Cellular Automata Pedro R. Andrade Tiago Garcia de Senna Carneiro
L – Modeling and Simulating Social Systems with MATLAB
International Interdisciplinary Seminar
Pedro Ribeiro de Andrade Münster, 2013
Pedro R. Andrade Münster, 2013
Illustrations of Simple Cellular Automata
Cellular Automata + Reaction-Diffusion Systems
Cellular Automata.
Pedro R. Andrade Münster, 2013
Spatio-temporal information in society: cellular automata
Cellular Automata What could be the simplest systems capable of wide-ranging or even universal computation? Could it be simpler than a simple cell?
Cellular Automata (CA) Overview
Presentation transcript:

Cellular Automata

Introduction  Cellular Automata originally devised in the late 1940s by Stan Ulam (a mathematician) and John von Neumann.  Originally devised as a method of representing a stylized universe, with rules (e.g. laws of thermodynamics) acting over the entire universe.  Have subsequently been used for a wide variety of purposes in simulating systems from chemistry and physics  CAs have started to be used in bioinformatics

Some Facts  Cellular Automata but … one Automaton !!  Cellular Automata can be defined in multiple dimensions: one, two, three… or more  Cellular Automata have applications in many scientific domains: 1.Physics 2.Material Science 3.Biology 4.Epidemiology 5.etc

Cellular Automata  CA is a dynamical system in which space and time are discrete and the space of Cellular automata is changed with time

Cellular Automata CA is a spatial lattice of N cells, each of which is one of k states at time t. Each cell follows the same simple rule for updating its state. The cell's state s at time t+1 depends on its own state and the states of some number of neighbouring cells at t. For one-dimensional CAs, the neighbourhood of a cell consists of the cell itself and r neighbours on either side.

Cellular Automata  An automaton consists of a grid/lattice of cells each of which can be in a number of states  The figure shows a 5x5 automaton where each cell can be in a filled or empty state. Cell State = empty/off/0 State = filled/on/1

1-D Cellular Automata It is a string of cells (one dimensional array of cells). Each cell in one state of State Set and change its state with time depend on the neighbor cells.

1D Cellular Automata T= T=1

Application  1-D cellular Automata example is the Traffic road (system)  Let us consider the cell with state 0 is empty of car and cell with state 1 has a car

Traffic Road T= T=1

Traffic road  The idea is to consider a set of adjacent cells representing a street along which a car can move.  The car jumps to its nearest neighbor cell unless this cell is already occupied by another car.

Traffic System The rule of motion can be expressed by X (t+1) = X in (t) (1-X(t)) + X out (t) X(t) X is the cell, X in is the cell from which the car come, X out the destination cell.

Traffic Simulation  Decelerate, if tailing distance to the next car is less than strength of pheromone suggests  Accelerate, if there is no pheromone or tailing distance is greater than suggested by pheromone strength

Traffic Simulation  Driving, changing lanes, stopping

State Set Each cell of the cellular automata is a finite automaton and then it has a state, the set of all possible states is called state set

State Transition Rules  The states of an automaton change over time in discrete timesteps  The state of each cell is modified in parallel at each timestep according to the state transition rules  These determine the new states of each of the cells in the next timestep from the states of that cells neighbours For (int i=0 to CellCount) { Cell[i].State[t+1] = STR(Cell[i].Neighbour.State[t] }

Boundary conditions there are two kinds of boundaries; periodic and fixed value boundaries. 1.Periodic boundary is obtained by periodically extending the array or lattice 2.Fixed value boundary is obtained by simply prescribing a fixed value for the cells on the boundary

Neighborhood size The set of cells that neighbor a given cell X in traffic example, the neighborhood size is 3 ( cell before and cell after plus the cell X itself) 101

2-D Cellular Automata  Is an array nxn of cells. Each cell has a different state from state set

2 D Cellular Automata  The neighborhood size of 2D cellular Automata is 2 types: Von Neuman and Moore R=1R=2 Von Neuman

2 D Cellular Automata  The neighborhood size of 2D cellular Automata is 2 types: Von Neuman and Moore R=1R=2 Moore

2-D Traffic System  Using 2 D cellular Automata we can construct road networks with crossing where cars can move

Game of life  Consider 2D cellular automata with neighbors size 8 and states 0 and 1  The transition rule is: –If cell has 3 of its neighbors live, then it live next time –Live cell and has 2 neighbors live, it will be live next time –Otherwise, it will die next time step

Game of life

Is it alive?

Sequences

Loop Reproduction

Loop Death

Classes of cellular automata (Wolfram) Class 1: after a finite number of time steps, the CA tends to achieve a unique state from nearly all possible starting conditions (limit points) Class 2: the CA creates patterns that repeat periodically or are stable (limit cycles) Class 3: from nearly all starting conditions, the CA leads to aperiodic-chaotic patterns, where the statistical properties of these patterns are almost identical (after a sufficient period of time) to the starting patterns (self-similar fractal curves) – computes ‘irregular problems’ Class 4: after a finite number of steps, the CA usually dies, but there are a few stable (periodic) patterns possible (e.g. Game of Life) - Class 4 CA are believed to be capable of universal computation

The 2 million cell  Fish: red; sharks: yellow; empty: black

Initial Conditions Initially cells contain fish, sharks or are empty  Empty cells = 0 (black pixel)  Fish = 1 (red pixel)  Sharks = –1 (yellow pixel)

Breeding Rule Breeding rule: if the current cell is empty  If there are >= 4 neighbors of one species, and >= 3 of them are of breeding age, Fish breeding age >= 2, Shark breeding age >=3, and there are <4 of the other species: then create a species of that type +1= baby fish (age = 1 at birth) -1 = baby shark (age = |-1| at birth)

Breeding Rule: Before EMPTY

Breeding Rule: After

Fish Rules If the current cell contains a fish:  Fish live for 10 generations  If >=5 neighbors are sharks, fish dies (shark food)  If all 8 neighbors are fish, fish dies (overpopulation)  If a fish does not die, increment age

Shark Rules If the current cell contains a shark:  Sharks live for 20 generations  If >=6 neighbors are sharks and fish neighbors =0, the shark dies (starvation)  A shark has a 1/32 (.031) chance of dying due to random causes  If a shark does not die, increment age

Shark Random Death: Before I Sure Hope that the random number chosen is >.031

Shark Random Death: After YES IT IS!!! I LIVE

Generation: 0

Generation: 100

Generation: 500

Generation: 1,000

Generation: 2,000

Generation: 4,000

Generation: 8,000

Generation: 10,500

Application Guidelines  To apply a cellular automaton to a problem: –A representation of a cell must be determined –Cell states must be defined –A grid of cells must be constructed –A set of rules must be created to modify states –A neighbourhood should be defined

Reaction/Diffusion with Cellular Automata

CA Methods in Games SimCity 2000 The SIMS