Professional Documents
Culture Documents
The Power of Totalistic Cellular Automata and To - 1988 - Mathematical and Compu
The Power of Totalistic Cellular Automata and To - 1988 - Mathematical and Compu
00
Printed in Great Britain Pergamon Press plc
Karel Culik II
Department of Computer Science
Abstract
A systolic network is an array of synchronized processors. It is
totalistic if the states of its processors are integers and the next state
of each processor is determined by the sum of all the states in its
neighborhood including its own. Our main result is that every uniform
regular network can be simulated by a totalistic systolic network.
- 4 4
s-2 S-1 SO
- - -
The transformation of an arbitrary one-dimension- left neighbor, the right neighbor and the own cell are
al CA whose states are the positive integers, see Fig- still identifiable by the position of a missing entry.
ure 1, is accomplished by a cyclic “coloring” of cells. Consider e.g. a cellular automaton A with set
We use four different powers of a basis B such that in of states Q = 1,2,. . , n and transition function d :
the number representation with base B (B-ary num- Q x Q x Q --) Q and let the Figure 1 depict part of
bers) of the sum of any three neighboring states the configuration of A. Let B = n + 1 be the basis for
‘This research was supported by the Natural Sciences and Engineering Research Coun-
cil of Canada under Grant No. A-7403
MCM cod-”
367
368 Proc. 6th In!. Conf on Mathematical ModrIling
s-x - - -
lOOXS_~ lOXS_l
-
so
-
1000 x
--
s1
-
100 x ss
--c
-
10x3s
-
the coloring factors 10, 100 and 1000 (in B-ary no- (i) K; c N for each i 5 12, and
tation). Then the configuration in Figure 1 changes
(ii) there exists a function 9 : N + .N such that for
to the one in Figure 2. Note that our “coloring” is
all 2e,5rr . . , 5, for which 6 is defined
proper, in-strong and nice in the notation of Section
3. 6( zo, 51,. . ) 5”) = g(z0 + ‘. + z,).
Thus our new set of states is Further, a FSM is semitotalistic if instead of the above
(ii) the following holds:
Q’ = {s x m 1 s E Q, m E {l,lO, 100,1000}},
(iii) there exists a function f : ,VN2--) N such that for
where s x m is the product of integers s and m. So Q’ all ~0,. . , 2, for which 6 is defined
contains 4n states and we can define now the (partial)
6(x0,51,..., Zn) =g(zo,zl+“.+z,).
totalistic transition function d’ : N + Q’ as follows
A network N is called totalistic or semitotalistic
d’(zyz) = 10 x d(z, y, z) if all of its processors are so. It follows immediately
d’(syz0) = 100 x d(s, y,z) that the underlying graph of a (semi)totalistic net-
d’(yzOz) = 1000 x d(z, y,z) work need not be ordered. Further, a network is
d’(zOzy) = d(s, y,z) called unifomn if all of its processors are identical, i.e.
card(M) = 1. Clearly, the underlying graph of a uni-
for all z, y, z in Q. Again zyz, zyz0, yzOz, zOzy, 10,100,
form network is of a constant in-degree, that is all of
1000 are to be interpreted as numbers in B-ary sys-
its vertices have the same in-degree.
tem.
In order to derive our simulation results we will
It is now straightforward, that the cellular au-
need the following notions. Let G = (V,E) be a di-
tomaton A with set of states Q’ and totalistic transi-
rected graph and rw: V --t C, where C is a finite set
tion function d’ correctly simulates A without loss of
of colors, its vertex labeling called coloring. We say
time and therefore we have
that LYis
Theorem 1 For every cellular automaton A there ez-
ists a totalistic cellular automaton A’ which simulates
(i) proper if (U,ZI) E E implies O(U) # o(v),
A without loss of time and has at most four times as
(ii) in-strong if (u,w), (zI,u)) E E with u # u imply
many states as A.
o(u) # o(v),
In this section we briefly define notions needed in this (o(u)>” {o(u)I(%u) E E:>.
note and fix our terminology. Condition (i) is well known, while (ii) and (iii)
A systolic network, or briefly network, is a triple seem to be new. Intuitively, (iii) means that the color
N = (G, p, d) where of a vertex u is uniquely defined by a set of colors
consisting of the color of u and its neighbors.
6) Q = (V, E) is a directed ordered graph,
Example The directed graph in Figure 3 is proper
(ii) p : V -+ M, where M is a finite set of finite state and in-strong but not nice; the one in Figure 4 is
machines, is a function called processor labeling, proper, in-strong and nice.
and
From the point of view of this note the following Figure 3: A proper and in-strong but not nice digraph.
two types of FSM’s are important. Let N denotes the
set of positive integers. A FSM A is totalistic if
Proc. 6th Int. Cmf. on Mathematical Modelling 369
3 Results
Now we generalize the simulation technique shown for
CA in the introduction.
s(nezrr(w)) = nezrr(s(zu)), (1) For examples and proofs of similar results see [Z].