CELLULAR AUTOMATA AND APPLICATIONS

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

CELLULARAUTOMATAANDAPPLICATIONSGAVINANDREWS1.IntroductionThispaperisastudyofcellularautomataascomputationalprogramsandtheirremarkableabilitytocreatecomplexbehaviorfromsimplerules.Weexamineanumberofthesesimpleprogramsinordertodrawconclusionsaboutthenatureofcomplexityseenintheworldanddiscussthepotentialofusingsuchprogramsforthepurposesofmodeling.TheinformationpresentedwithinisinlargeparttheworkofmathematicianStephenWolfram,aspresentedinhisbookANewKindofScience[1].Section2beginsbyintroducingone-dimensionalcellularautomataandthefourclassi cationsofbehaviorthattheyexhibit.Insections3and4theconceptofcomputationaluniversalitydiscoveredbyAlanTuringintheoriginalTuringmachineisintroducedandshowntobepresentinvariouscellularautomatathatdemonstrateClassIVbehav-ior.Theideaofcomputationalcomplexityasitpertainstouniversalityanditsimplicationsformodernsciencearethenexamined.Insection12GAVINANDREWS5wediscussthechallengesandadvantagesofmodelingwithcellularautomata,andgiveseveralexamplesofcurrentmodels.2.CellularAutomataandClassificationsofComplexityTheone-dimensionalcellularautomatonexistsonanin nitehori-zontalarrayofcells.Forthepurposesofthissectionwewilllookattheone-dimensionalcellularautomata(c.a.)withsquarecellsthatarelimitedtoonlytwopossiblestatespercell:whiteandblack.Thec.a.'srulesdeterminehowthein nitearrangementofblackandwhitecellswillbeupdatedfromtimesteptotimestep.Again,forthepurposesofthissection,wewilllookatc.a.'swhoserulesareupdatedbasedonanearestneighborscheme.Thismeansthattodeterminethestateofacellinpositionpattimestept+1,wewilllookatthestatesofcellsinpositionp1,p,andp+1allintimestept.Foreachoftheeightpossiblepatternsofwhiteandblackcells,thestateofcellpattimestept+1ischosenaseitherblackorwhite.SeeFigure1fortheeightpossibleinputpatterns,aswellasonepossibleoutput.Inallthereare256di erentpossibleoutputs.CELLULARAUTOMATAANDAPPLICATIONS3Figure1.Alongthetoparetheeightpossiblepatternsofthree,two-statecells.Theyaredisplayedinthecon-ventionallefttorightorderinthis gure.Thebottomisonepossiblesetofoutputs.Inall,thereare256di erentpossibleoutputs.ThisimageisscannedfromWolfram[1],page53.ToanalyzethebehavioroftheseprogramsWolframdevelopedanamingconvention,astandardinitialconditionandmethodofview-ingtheresultsofmultipleiterationsatonce.Tonamethebasicone-dimensionalc.a.'sdescribedabove,ahierarchywasgiventoeightpos-siblepatternswithblack-black-blackonthefarleftandwhite-white-whiteonethefarright.Eachcombinationwasmadetorepresentaplaceinthebinarynumberingsystem.Black-black-blackforexamplewasrepresentsthe27thplace.Assigningthevalueofzerotowhiteandonetoblackgiveseachofthepossiblearrangementsofupdatingscenariosabinarynumberthatrangesfrom0to255inbaseten.SeeFigure2forseveralexamplesofthisnamingscheme.Theinitialconditionsforalltherules,0-255consistofoneblackcellwithraysofwhitecellsextendingtoin nityonbothsides.Toviewmultipleiterationsatonce,eachtimestepisplacedbelowthepreviousonewiththepositionsofeachcellunchanging,forexampleseeFigure3.Thiscreatesatwo-dimensionalimageofmultipleiterationsofac.a.4GAVINANDREWSFigure2.Thesearethe rstthreerulesandthelastone.Thesequenceofzerosandonesarebinarynumberswiththeirbasetenequivalentlabeledtotherightofeachsequence.Wolfram,page53.allowingforanalysisofbehavior.Itshouldbenotedthatthemaximumrateoftraveloftheblacksquareinthemiddleisonelateralsquareperiteration.Wolframclassi esthebehaviorobservedinthesec.a.'sinfourdis-tinctclasses.The rstisClassI,whichcontainssimplerepeatingbehavior.Thiscanrangefromasingleverticalordiagonalline(theinitialconditionsremain)asinrules100andrule106,oraseriesofalternatingallwhiteandallblackiterationsasinrules119and21.SeeFigure3,images(a)and(b)ofrule106and119respectivelyforexamplesofClassIbehavior.ThebehavioriseasilyrecognizableasCELLULARAUTOMATAANDAPPLICATIONS5(a)(b)(c)Figure3.Aboveare16iterationsofrules106,119,and126.Rule106and119areexamplesofClassIbehavior,and126isoneofClassIIbehavior.Wolfram,page54.containingrepetitiveelementsofequalsizethatencompassthewholeprogram.Approximately86%ofthe256basicc.a.'sareofthisclass.Thesecondclassofbehavior,ClassII,ischaracterizedbyc.a'sthathavenestedpatterns.Anestedpatternisacon gurationthatrepeatsitselfonaneverincreasingscale.Thatis,smallerscalerepresentationsofaselectedregionoccurwithintheregionitself.Approximately9%ofthebasicc.a.'sareofthisclass.SeeFigure3,(c)foranimageofaClassIInestedpatterninrule126.ClassIIIbehavioriscompletelyrandom.Thec.a.'sinthisclasshaveshapesthatrepeatthemselves,buttheirlocationandfrequencyisrandom.Thisclasscontainsabout4%ofthebasicc.a.'s.The nalclass,ClassIVbehavior,isacombinationofClassIbehav-iorandClassIIIbehavior.Thesec.a.'sexhibitacomplexcombinationofrepeatingpatternsandrandombehavior.SeeFigure4foranexam-ple.Thereareonly4outofthe256basicc.a.'sthatexhibitthisbehav-ior,andallfourareessentiallythesamewhenweconsiderblack-white6GAVINANDREWSFigure4.Aboveisanimageof150iterationsofrule110anditsupdatingrules.Wolfram,page32.symmetryandleft-rightsymmetry.Twoofthemaremirrorimagesofeachother,ippedovertheverticalaxisplacedat

1 / 29
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功