Professional Documents
Culture Documents
Compe o Cellu Tomata U Les: T Ition F Lar Au R
Compe o Cellu Tomata U Les: T Ition F Lar Au R
Dav id B . B row n
Department of Zoology, University of Toronto,
25 Harbord Street , Toronto , On tario M5S lAl, Can ada
1. Introduction
A fundame ntal mechanism in the evolution of biological systems is compe-
tition. The compet itors are individua ls and the fittest survive to dom inate
the population as a whole. Each organism exh ibits a complex range of be -
h avior that is selected as a single coupled behaviora l set. Competition an d
select ion can be dr awn int o cellular automata th eory by combining severa l
automata rules int o a hierar chy and allowing them t o compe te for cellular
space .
Com pe tit ion t akes place in region s where different rules ar e locally ad-
jacent and selection is based upon a master ru le. Results are obtained by
t he methods of expe rimental mathematics.
Th.e local interaction of disti nct ru les through the mediation of a master
ru le can be expressed as a sing le rule over the same neighborhood with
a larger number of values . T his suggests that the behavior of complex
cellu lar automata ro les with many site values might largely be determined
by competition between simpler automata rules with fewer values.
2. A master rule
A hierarchy of rules is formed through the generalization of rule and site
value interact ions. It is subsequently restricted to be cons istent with pre-
vious cellular automata studies and allow an investigation of competition
and select ion. Consider a one dimensional cellular automaton th at has a
finit e number of sites connected in th e sha pe of a r ing. Ea ch site has a
limited range of discret e values. The evolu tion rule is a t ime invar ian t
ma pping whos e domain is all possible values of the site and its immediat e
neighb orhood of size r and whose ran ge is the set of all possible values k.
D ifferent evo lut ion rules can be permanently an chored to specific sites.
In t his situat ion, t he value of t he sites would evolve t hrough the mapping
of the rule at t ached to that site according to t he values of t he site an d
its immedi ate neighbo rs. Selection can only apply to t he site values . Al-
ternately a second rule can be introd uced in suc h a way t hat competition
for site occu pan cy is allowed between the two rules. The meta ru le gov-
erning the ru le comp eti tion for sites is called the "maste r rul e". Possib le
for ms of the master rul e are rich and varied . T wo restricti ons t hat are
t raditionally associated with some cellular auto mata can be expressed in
several forms in the hierarchical system. Here, restrictions are chosen to
a llow selection through competition and yield beh avior locally consistent
with the one dimensional totalistic rule sys tem desc ribed by Wolfram [11.
The evo lution of a site value is determined by the values of the neigh-
boring sites. By extension , the evolut ion of r ules over sites is com p let ely
governe d by the site rules and values in t he neighboring region . The "nu ll"
°
con figurat ion (gro und state) is a st ipulation that F IO .O.... O] = (see Wol-
fram [I D. The condition pro d uces a bias in site va lues and is use d in t his
investigation as a distinction between the dead an d living. Fitness is ex-
pressed as t he pot enti al s urvivorship of r ules wh ose site value is one. New
rules are chosen for all sites at each it erati on of the automaton . Selection is
a llowed to op er ate by choosing the site rule from a set of neig hbo ring rules
whose site value was one during the proceed ing time step.
(3.1)
,,!'+l)
..I"'" = G(X(') • .i') )
,-r' ..., }{i+r (3.2)
G most gen erally has a ll F as its range and a ll 2r + I- sized se ts of all va lues
k and a ll F as its domain.
The site value a nd rule evo lution of the ce llular automaton is given by
t he linked binary m apping:
(3.3)
Competition of Cellular A utomata Ru les 171
where
.,(1+1) = G(X(I) X(I) ) (3.4)
..... I-r ' .. . , ,+r
Certain rest rict ions can be applied to keep the size of the rule class G within
reasonable bounds and provide control over the competit ive and selective
process.
A r ule chosen to occupy a site at t he next step of time evolut ion of the
site should be found in the local neighborhood of the site at the presen t time
interval. Hence, R!l} must be one of R!2
r , • • • , .R;(2r ' Restrictions sho uld be
imposed on rul e select ion to allow for fitness of rules based upon th eir site
values at time t. Hence, t hose sites in t he neighborhood of i whose va lue is
a at t sho uld not be cons idered to pass their rules for occupat ion of site i
at time t + 1. The class of master rules can be greatly curtailed by ma king
the decision of rule selection independent of t he specific rul e types in the
neighborhood of i.
F inally, it is important to insist that F(O, .. ,0) = is never mapped by °
G unless it is t he only ru le to appear as an input to G . This ensures two
properties. Any site with value zero will immediately assume a new non
null rule provided t hat one is locally available. No site can be forced into
inactivity when a non null rule is loca lly present. Hence G*, the rest rict ed
form of G, is defined as follows: H is an arbitrary function given by the
mapping
_ ( (t ) (t) )
m - H a i _ r, ..., ai+r (3.5)
where m is an integer from a to 2r and const rained such th at a~2r+", ;f. 0.
(1+1) _ _ .
Ri - G* - ~-r + H ( a;(t)_ r"'" (I) ) (t)
ai+ r (3.6)
and
G. ((0, R!~,), (0, R!~'+1),' .. (0, R!2,)) = O. (3.7)
The behavior of G* class master rules was examined experimentally.
5. Q uantitative method.
Totalistic k = 2, r =2 rules we re used for the simulat ion of competing
automata. The site value evolut ion ru le at locat ion i was det ermined by
t he sum of site va lues a~~2 through a!~2 . The rules were identified by a
ru le number R N which corresponded to the decimal base representation of
the binary val ue transition table. For example, Ru le 100110 is Rul e 44 and
maps the summed site values of 1, 2, and 5 to value 1. All other summed
site values are mapped to value O.
The master rule G*m requires a rule selection choice for each of the
32 possible state patterns found in the neighborhood of site i, It can be
characterized by a 32 X 5 matrix of the form:
00000
eoooo
OcOOO
OOcOO
OOOcO
lcOOO
cOl00
10 1cO
10c 11
lc111
Here 0 represents a site with value 0, and 1 and c represent sites with value
1. c represents the location of t he rule that is chosen- to occupy the center
site i at t ime t + 1.
The master rules G* were divided into two classes . The first class
ensured t h at Rjt+l) = R!'it provided all) = 1. This scheme preserved rules
in their p laces as long as the rules kept site i in value 1. The second class of
master ru les were deemed "high migr ation ru les" and attempted to displace
ru les as mu ch as possible from t heir given locations. T he master rules often
did not pr eserve symmetry in the direction of average ru le migrat ion. The
asymmet ry was of little consequence as the tot alistic rul es are t hemse lves
symmetrical and unbiased to a direct ion of drift.
Competition of Cellular A utomata Rules 173
Both rul es can be eliminated from the ring of sites , leaving t he null
rule in place by default . This behavior is exhibited by the rule pair
(16,32 ) and is not surprising since both are class 1 cellular automata
ru les and would go to site value O.
One ru le can be eliminated and the other left in a locked or oscillatory
state. R ule pair (8,16) pred ictably demonstrate this trait as 16 is a
class 1 rule and 8 is class 2. Both rules can become fixed at sites,
locked in a fixed or oscillatory state. This wou ld be expected by rul e
pa ir (8,24) because they are both class 2 rules.
One rule is eliminated and t he other persists over all sites and remain
in a random cycling of site values. Such behavior predominates the
overall outcome of rule pair int eractions and cou ld well be expected
by the pair wise interaction of a class 3 ru le wit h any other class. Pair
(14,46) demonstrates t his behav ior (see F igure 1).
Both ru les could pe rsist changing both sites and values at random.
Such behavior wou ld be expected in the interaction of a rule with
itse lf such as (46,46) . Alternately it might be expected through the
interaction of two separate class 3 rules as (26,46). Such interactions
probably imply that insufficient time has elapsed to det ermine the
dominant rule (see Figure 2). Certain properties of competing rule
pairs are found repeatedly throughout the simulation results.
A particular ru le in a two rule pair excludes the other over vir t ually
all the master ru les exp lored from both the low and high migration
master ru le classes. Such behavior suggests a vast majority of rule
pair domina nces are independe nt of variations to the master rule.
Furt hermore, t hose cases such the p air (10,38) whic h shows ru le 38
winning 40% of the time , also indic ates that rule 10 never wins.
m.
,c ,. "
• ro
" .. " . ae aa ,. ,. ,.
,.,.
.. .. ,
ce
•• ,.
eo sa
"
,. .,
rc•
......" .. " "
.,,
"
,.
"
,. .. " " .. ,.
,.
.,
aa
..
,.
"
,.
•
,.
,. "
...
eo
. .. .. .... ,. ,.
"
.....,
,. " ., ., ,. ..
.. ", ..
" ..
,.
. ,.
.."
.."
.,
ee
"
" ., ,..
" .
.
"
" "
.. .,
" ..
.,.
•
, "... ." .."
e
.,
..
rc
.
.... .." " ". ,. ,.,. ., . ..,• .,,.."
ra ro ea
re
io
"
,.
ao
,."" ,.eo
..•
eo
,.
,.
.... .. " ,.""
.,"" •
,. .... .. .,
• ,.
". ..
"" ,.
..."
"., •
....., ,.
.. .,. ,. ., " "
, • ar
"
rc
.,
...•
,. ,. ,.
,,
.." .,
~,. ra u
" " " ", "
" "
••
• .. .. u
""
..
" " . ..
"aa"
""
es
"
"
" " "
"
" .. "
"ac "
""
"""
" ". "". "
" . "
"
..."" " "
.. . ..." .." . •
"
"
• u
.
.." " u
""
"
,, ea .. .. .. .. .. ..
.. .... .. ...
~ ,.
..
ae
" .
ac
i s
." -a
A rul e disp ersed from a region where it predominantly occup ies numer-
ous sites, is likely to be eliminate d by th e swamping effect of ot her rules
of a different typ e in the surrounding neighborh ood . This effect appears to
lead to t he clustering of regions of r ules .
Certain low number labeled class 2 rules are able to predominate over
class 3 ru les by forming membrane type structures which can lead to elim-
inat ion through containment. The pair (4,24) is an example of such a
process (see Fig ure 5).
178 David B. Brown
Figure 4: Rules that are not substantially affected by other rules. The
thick dot ie rule 20 in bot h (a) and (b) . The thin dot in (a) ie 50, and
the t hin dot is 12 in (b) .
Competition of Cellular A ut omat a Rules 179
~"
,• • • . ra
" " " ac
"
,. ae ,.
•• ..
..
ra
• " "
.,
"
,"". "
,".
"
..
to
"
"
e"o
,".
....
"
.,"
"
sa ..
..".
" "
,.
..""
,
,
•
e "•
"• "",
• • "•
"
" ,
" sa
"
..
"
ea ,. . ., .. .. . so .. "• ..
" .., ."
~ "e " " " "
a •
..
••
• " .." .. " "".. ..
, ., ""
.."" " .. er
,.
"
ac
aa
.
"
" to ..
•
. " ,.".,, .." "".
"
'ra
eo
eo
, .. "
""en
,.aa
..
." .. .
""
., eo
.... " ..
ro
" "., ..
"" " " ., "
., " "
.. .. ..". ...""
...." "
•
"i s • "".... •
...• ". .."" ""• .
"
~.
Acknowledgements
The aut hor wou ld like to thank R . Kap ral for his ass istance and cri t icism in
developing the framework for this analysis; R . Hansell, J. Palohe lm o, and S.
Findl ay for t he ir suggesti ons concern ing t he preparation of t he manuscript,
an d S. Wolfram for his help in revision of the same. This work was fund ed
in whole by an NSE RC op erating grant to R . H ans ell.
R eferences
[1] S. Wolfram, "Universality and Complexity in Cellular Automata", Physica
100 (1984) 1-35.