Questions tagged [cellular-automata]

A cellular automaton is a discrete model studied in computability theory.

By wikipedia,

A cellular automaton is a discrete model studied in computability theory, mathematics, physics, complexity science, theoretical biology and microstructure modeling.

A cellular automaton consists of a regular grid of cells, each in one of a finite number of states, such as on and off (in contrast to a coupled map lattice)

225 questions
0
votes
2 answers

Cellular Automaton not working

I am trying to create a Cellular Automaton based on this. I have managed to do it in a simple way that would follow only rule 90 but when I changed it to accept any rule I did something wrong. This is how the result should…
Alexandru Cimpanu
  • 1,029
  • 2
  • 14
  • 38
0
votes
1 answer

Cellular automation get non-living neighbours

I'm trying to develop a cellular automata simulation and the problem is I want to get the close neighbours and far neighbours of each cell (illustrated as blue and beige) and determine which cells are dead and using some rules bring them to life. So…
ᴘᴀɴᴀʏɪᴏᴛɪs
  • 7,169
  • 9
  • 50
  • 81
0
votes
1 answer

My cellular automata code doesn't work as i intend it to work

clear all; clc; %% Creating a grid with random value n = 64; Gpop = rand(n,n); temp=Gpop; Gpop(temp(:,:)<0.99) = 1; %Healthy percentage 99% Gpop(temp(:,:)>0.99 & temp(:,:)<0.994) = 2; %Healthy percentage .04% Gpop(temp(:,:)>0.994 &…
Hari
  • 1
  • 6
0
votes
0 answers

Unicode char not displaying correctly when written to console in C#

I'm developing code to perform an elementary cellular automata in C#. I'm working in Microsoft Visual Studio Express 2012. Overall my code is working, but I'm have trouble when writing the results to the console. I've written a class, "bitrep",…
TógCúig
  • 1
  • 1
0
votes
3 answers

Thread safe high-performance matrix-like container in Java for cellular automation?

I'm doing a cellular automatan that I'm running as an instance of a class with a specific thread provided for it. For the new functionality, namely adding live cells through mouse input while the simulation proceeds , I have to access the class'…
Ryan Marv
  • 109
  • 6
0
votes
1 answer

Signalling formats in WireWorld?

What formats are used in the WireWorld cellular automata rule (language) for signalling between parts of a pattern (program)?
alan2here
  • 3,223
  • 6
  • 37
  • 62
0
votes
2 answers

Conway's Game Of Life - Incorrect Algorithm?

The algorithm I created (implementation of Conway's Game of Life's rules) doesn't match Conway's GoL. I've tried just about everything I can do, but it just doesn't match. Additionally, if anyone knows how to make it into an infinite plane or…
0
votes
2 answers

Python: Replacing random.random with a .txt list

I'm trying to modify a python script that models a version of Conway's game of life. In which a set of cells in X number of columns and Y number of rows are each given a value that determines if they will switch between two states of active or…
0
votes
0 answers

MPI_Exchanging sides of vector between processes

In my code I have an arbitrary number of processes exchanging some parts of their local vectors. The local vectors are vectors of pairs and for this reason I've been using an MPI derived datatype. In principle I don't know how many elements each…
0
votes
2 answers

How to interpret Turing Machine illustrations on p79 of Stephen Wolfram's “A New Kind of Science” book?

I am reading Stephen Wolfram's "A New Kind of Science". At present, I cannot understand how the cellular automata illustrations on p79 are created. In the patterns, the active cell, representing the head, appears to change orientation between up and…
Lee
  • 29,398
  • 28
  • 117
  • 170
0
votes
1 answer

Flex Panel not being updated

I am drawing a cellular automaton simulation on a Flex Canvas. I alternate computing the state of the automaton with updating the graphics on the Panel. However, the updating of the Panel does not seem to be "keeping up" with the update of the CA…
Paul Reiners
  • 8,576
  • 33
  • 117
  • 202
0
votes
0 answers

Boundary conditions in MATLAB cellular automata model

I'm trying to write a code to implement a cellular automata model in MATLAB and I'm having difficulty at the boundaries. I am attempting to use cylindrical boundary conditions, so the top and bottom row activate one another whilst the left and right…
ren
  • 13
  • 1
  • 3
0
votes
1 answer

Multi agent system vs Cellular Automata

Could someone describe the difference between MAS and CA? Is MAS derived from CA or do they share similar principles, or are they completely different entities that are used together to simulate complex behaviors?
Stephen Jacob
  • 889
  • 1
  • 15
  • 33
0
votes
2 answers

how to partition the 2d arrays among the processes for "The Game of Life"

I am doing an assignment using MPI to implement Game of Life. I was wondering if I should use a block-row partitioning, a cyclic row partitioning or a block-checkerboard partitioning?
hao
  • 103
  • 2
  • 2
  • 5
0
votes
2 answers

Prolog - writing a rule for finding the top cell

I'm new to Prolog and I wanted to write a program that can do some computations on a cellular space. First of all, I've defined the cellular space by some…