Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

A (one dimensional) cellular automaton is a function1 F : Σ → Σ with the property that there is a K > 0 such that F (x)i depends only on the 2K + 1 coordinates xi−K , xi−K+1, . . . , xi−1, xi, xi+1, . . . , xi+K . A periodic point of σ is any x such that σ^p (x) = x for some p ∈ N, and a periodic point of F is any x such that F^q (x) = x for some q ∈ N. Given a cellular automaton F, a point x ∈ Σ is jointly periodic if there are p, q ∈ N such that σ^p (x) = F^q (x) = x, that is, it is a periodic point under both functions.

This project aims to explore the nature of one-dimensional Cellular Automata, in the hope of finding the structure of cellular automata through its periodic points.

2037 views
License: MIT
ubuntu2004
1
# This class is to provide all utils functions that will not install with the tomato-engine via pip
2
import numpy as np
3
4
def point_matrix(size, value):
5
"""
6
Creates an array of zeros with an element of specified value not medium.
7
"""
8
try:
9
m, n = size
10
except TypeError:
11
m,n = size, size
12
13
14
state_matrix = np.zeros((m,n))
15
state_matrix[m // 2, n // 2] = value
16
17
return state_matrix
18
19
20