EVOLVINGBUILDINGBLOCKSFORDESIGNUSINGGENETIC ENGINEERING A FO(4)

2021-09-24 12:31

Letusillustratetheexecutionofthecyclejustoutlinedusingasimple2-dimensionalgraphicalexample.Wewilldescribeitinmoredetaillaterbutfornowonitissuf- cienttosaythatthereisonlyoneelementaryblockhere-thesquareandthatadesignisassembledfromcubesusingthe8rulesshowninFigure7.Anydesigncanbecodedasasequenceoftheserulesusedtoassembleit.Assumewearetryingtoproduceadesignwhichhasthemaximumnumberofholesinitandthateachdesigncontainsnotmorethan20squares.WestartthecyclebygeneratingasetofcodingsequencesandcorrespondingdesignsFigure8.Thenwenoticethatanum-ber(4)ofthedesignshavethemaximalnumberofholes(designs1,2,4,and7-the“good”samplingset)containthecompositebuildingblockandthatforthreeofthemtheircodingsequencescontainthepattern.Wealsonoticethatonlyafew(noneinthiscase)ofthedesignswithoutholes(designs3,5,8and10-the“bad”samplingset)containthisblockandnonecontainthispatternintheircodingsequence.Thenwecangeneratethenextpopulationofcodingsequencesusingthe

asanewrulewhichusesthecompositebuildingblockidenti edsequence

inthedesign.Assumingthatweemploysomeoptimizationmethodtogeneratethisnewpopulationwecanexpectthatthe“good”samplingsetfromthenewpop-

Abstract. This paper presents a formal approach to the evolution of a representation for use in a design process. The approach adopted is based on concepts associated with genetic engineering. An initial set of genes representing elementary building blocks

EvolvingBuildingBlocksforDesignUsingGeneticEngineering

design 2design 39

good{3,2,2,6,5,8,2,1,4,4,3,1}design 6

{2,3,2,3,4,3,5,6,5,1,6,2}design 9

neutral{6,4,1,2,3,4,5,2,1,7,4}

Figure8.Theidenti cationofthepattern

inthegenotypesof“good”designs.andcorrespondingcompositebuildingblock

ulationisbetterthanthepreviousone(thatis,thedesignswhichbelongtoithaveonaveragemoreholesthantheonesfromtheprevious“good”samplingset).Thenweagaintrytoidentifythepatternswhicharemorelikelytobefoundindesignsfromthis“good”samplingsetthanfromthe“bad”one.Thistimethesepatternsmaycontainthepreviouslyidenti edpattersasacomponent.Thenwegenerateanewpopulationofdesignsusingtheseadditionalpatternsequencesofrulesasanadditionalassemblyruleandsoon.

Thesizesofthesamplingsetsinrealisticsystemsislikelytobemuchlarger

Abstract. This paper presents a formal approach to the evolution of a representation for use in a design process. The approach adopted is based on concepts associated with genetic engineering. An initial set of genes representing elementary building blocks

10JohnS.GeroANDVladimirA.Kazakov

thantheonesinthisexampleandmuchmoresophisticatedtechniques(PearsonandMiller,1992)shouldbeemployedtosingleoutthesekeypatterns.

3.Evolvingbuildingblocks

Foramoreformalanalysisoftheevolutionofthebuildingblocksweusetheshapegrammarformalism(Stiny,1980a).Itconsistsofanorderedsetofinitialshapesandanorderedsetofshapetransformationruleswhichareappliedrecursively.Aparticulardesignwithinthegivengrammariscompletelyde nedbyacontrolvectorwhichde nestheinitialshapeandtransformationrulesappliedateachstageofrecursiveshapegeneration.AccordingtothediscussionintheIntroduc-tionweconsideraparticularclassofshapegrammarsimilartothekindergartengrammar(Stiny,1980b),whereanyshapeisanon-overlappingunionofbuildingblocksandfeasibleshapetransformationsareaddition,replacementordeletionofthebuildingblocks.

beasetofcurrentlyavailablebuildingblocks,andbeasetofassemblyrulesapplicabletotheseblocks.,,,,Thenthecontrolvector

de nesthepopulationofdesigns,.,isavariable.Thelengthofthecontrolvector

Ifweaddnewcomplexbuildingblock

andnewassemblyrulesforitshandlingthenwegetanewextendedsetofrules,,and.

whichcorrespondstothevectorwhoseNowwecanproducethedesign

componentsbelongtotheextendedand.Notethattheadditionalbuildingblocksandassemblyrulesaregeneratedrecursively:theyarecompletelyde nedintermsofthepreviousand.

Weassumethatthedesignproblemhasaquanti ableobjectivevector-function,andcanbeformulatedasoptimizationproblemLet

(1)

Theproblem(1)overtherepresentationwitha xedsetofbuildingcompon-entsandassemblerulescanbesolvedusinganyofoptimizationmethods(GeroandKazakov,1995)butthestochasticalgorithmslikegeneticalgorithms(Hol-land,1975)andsimulatedannealing(Kirkpatricketal.,1983)lookmostprom-isingatthemoment.Wehavechosenthegeneticalgorithm.

Theevolutionarymethodhasthefollowingstructure:

Algorithm

.Takethesetofelementarybuild-(0).Initialization.Setcounterofiteration

andcorrespondingassemblyrules.Generatesomeingblocks

Abstract. This paper presents a formal approach to the evolution of a representation for use in a design process. The approach adopted is based on concepts associated with genetic engineering. An initial set of genes representing elementary building blocks

EvolvingBuildingBlocksforDesignUsingGeneticEngineering11

randompopulationof,calculateand.Settherelativethresholds;theyareusedduringanevolutionforthedesign’sranking

stagetodividethedesigninto“good”,“bad”and“neutral”samplingsets,thatis,thepartsofpopulationwhichexhibit()best,()worseandintermediaterel-ative tnesslevel.

EVOLVINGBUILDINGBLOCKSFORDESIGNUSINGGENETIC ENGINEERING A FO(4).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:碳酸钙中钙含量的测定

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: