收藏 分销(赏)

文化基因算法ppt.ppt

上传人:快乐****生活 文档编号:2652818 上传时间:2024-06-03 格式:PPT 页数:25 大小:454.96KB
下载 相关 举报
文化基因算法ppt.ppt_第1页
第1页 / 共25页
文化基因算法ppt.ppt_第2页
第2页 / 共25页
文化基因算法ppt.ppt_第3页
第3页 / 共25页
文化基因算法ppt.ppt_第4页
第4页 / 共25页
文化基因算法ppt.ppt_第5页
第5页 / 共25页
点击查看更多>>
资源描述

1、MemeticMemeticAlgorithmAlgorithm2015/01/05 Memetic Algorithm Member:杨勇佳、易科、朱家骅、苏航MemeticMemeticAlgorithmAlgorithm2015/01/05Contents1Introduction2ThedevelopmentofMAs2.11stgeneration2.22ndgeneration2.33rdgeneration3Applications4ExampleMemeticMemeticAlgorithmAlgorithm2015/01/05IntroductiongenememeCommo

2、nInthegeneticprocessofcontinuousevolutionanddevelopmentthroughcrossoverandmutationoperationsSuccessionanddevelopmentinthecommunicationprocessthroughinteraction,integration,mutation,etc.DifferentInbiologicalevolution,variationisrandom,onlyafewgoodvariationcanberetainedinnaturalselectionCulturaltransm

3、issionprocessoftenwithfullknowledge-basedprofessionalfields,evolutionisfasterHawkins(1976)raised meme notionMemeticMemeticAlgorithmAlgorithm2015/01/05IntroductionInspiredbybothDarwinianprinciplesofnaturalevolutionandDawkinsnotionofameme,theterm“MemeticAlgorithm”(MA)wasintroducedbyMoscatoin1989whereh

4、eviewedMAasbeingclosetoaformofpopulation-basedhybridgeneticalgorithm(GA)coupledwithanindividuallearningprocedurecapableofperforminglocalrefinements.Ingeneral,usingtheideasofmemeticswithinacomputationalframeworkiscalledMemeticComputingorMemeticComputation(MC).MAisamoreconstrainednotionofMC.Morespecif

5、ically,MAcoversoneareaofMCMemeticMemeticAlgorithmAlgorithm2015/01/05ThedevelopmentofMAs 1st generationuamarriagebetweenapopulation-basedglobalsearch(oftenintheformofanevolutionaryalgorithm)coupledwithaculturalevolutionarystage.uThissuggestswhythetermMAstirredupcriticismsandcontroversiesamongresearch

6、erswhenfirstintroduced.uPseudocode:ProcedureMemeticAlgorithmInitialize:Generateaninitialpopulation;whileStoppingconditionsarenotsatisfieddoEvaluateallindividualsinthepopulation.Evolveanewpopulationusingstochasticsearchoperators.Selectthesubsetofindividuals,thatshouldundergotheindividualimprovementpr

7、ocedure.foreachindividualindoPerformindividuallearningusingmeme(s)withfrequencyorprobabilityofforaperiodof.ProceedwithLamarckianorBaldwinianlearning.endforendwhileHybridAlgorithmsMemeticMemeticAlgorithmAlgorithm2015/01/05ThedevelopmentofMAs 2nd generationuexhibitingtheprinciplesofmemetictransmission

8、andselectionintheirdesign.uInMulti-memeMA,thememeticmaterialisencodedaspartofthegenotype.uMAconsideringmultipleindividuallearningmethodswithinanevolutionarysystem,thereaderisreferredto.Multi-meme,Hyper-heuristicandMeta-LamarckianMAMemeticMemeticAlgorithmAlgorithm2015/01/05ThedevelopmentofMAs 3nd gen

9、erationCo-evolution8andself-generatingMAs9Incontrastto2ndgenerationMAwhichassumesthat the memes to be used are known a priori,3rdgeneration MA utilizes a rule-based local search tosupplementcandidatesolutionswithintheevolutionarysystem,thuscapturingregularlyrepeatedfeaturesorpatternsintheproblemspac

10、e.MemeticMemeticAlgorithmAlgorithm2015/01/05The basic model of MAs0Initialpopulation0The initial parameters of the algorithmpopSizePopulation sizeoffspringSizeThe number obtained by the offspring generating functionlLength codingFFitness functionGGenerating functionUUpdate functionLCollection of loc

11、al search strategyMemeticMemeticAlgorithmAlgorithm2015/01/05MA MethodForalltheproblemswewanttofindtheoptimalsolution.facingafundamentalquestionhowtogenerationPseudocode:ProcessDo-Generation(pop:individual)variablesbreeders,newpop:Individual;beginbreedersSelect-From-Population(pop);newpopGenerate-New

12、-Population(breeders);popUpdate-Population(pop,newpop)endMemeticMemeticAlgorithmAlgorithm2015/01/05MA MethodFor Generate-New-Population process,the mosttypical situation involves utilizing just two operators:recombinationandmutation.Pseudocode:ProcessGenerate-New-Population(pop:Individual,op:Operato

13、r)Individualvariablesbuffer:Individual;j:1.|op|;beginbuffer0pop;forj1:|op|dobufferjApply-Operator(opj,bufferj1);Endfor;MemeticMemeticAlgorithmAlgorithm2015/01/05In essence,a mutation operator must generate a newsolution by partly modifying an existing solution.Thismodificationcanberandomasitistypica

14、llythecaseorcanbeendowedwithproblem-dependentinformationsoas to bias the search to probably-good regions of thesearchspaceMA MethodMemeticMemeticAlgorithmAlgorithm2015/01/05MA MethodPseudocode:ProcessLocal-Improver(current:Individual,op:Operator)variablesnew:IndividualbeginrepeatnewApply-Operator(op

15、,current);if(Fg(new)Fg(current)thencurrentnew;endifuntilLocal-Improver-Termination-Criterion();returncurrent;endMemeticMemeticAlgorithmAlgorithm2015/01/05MA MethodAfter having presented the innards of the generationprocess,wecannowhaveaccesstothelargerpicture.ThefunctioningofaMAconsistsoftheiteratio

16、nofthisbasicgenerationalstepPseudocode:Process MA()Individualvariablespop:Individual;beginpop Generate-Initial-Population();rep eatpop Do-Generation(pop)if Converged(pop)thenpop Restart-Population(pop);end ifuntil MA-Termination-Criterion()endMemeticMemeticAlgorithmAlgorithm2015/01/05MA MethodThe Ge

17、nerate-Initial-Population process is responsibleforcreatingtheinitialsetof|pop|configurationsPseudocode:Process Generate-Initial-Population(:N)Individualvariablespop:Individual;ind:Individual;j:1.;beginfor j 1:doind Generate-Random-Solution();popj Local-Improver(ind);endforreturn popendMemeticMemeti

18、cAlgorithmAlgorithm2015/01/05MA MethodConsider that the population may reach a state in which thegenerationofnewimprovedsolutionbeveryunlikelyPseudocode:Pro cess Restart-Population(pop:Individual)Individualvariablesnewpop:Individual;j,#preserved:1.|pop|;b egin#preserved|pop|%PRESERV E;for j 1:#prese

19、rved donewpopj ithBest(pop,j);endforfor j (#preserved+1):|pop|donewpopj Generate-Random-Configuration();newpopj Local-Improver(newpopj);endfor;return newpopendMemeticMemeticAlgorithmAlgorithm2015/01/05MAs Infact,MAsisageneticalgorithmframework,isaconcept,inthisframework,usingdifferentsearchstrategie

20、scanconstitutedifferentMAs,suchasglobalsearchstrategycanbeusedgeneticalgorithms,evolutionstrategies,evolutionaryprogramming,etc.localsearchstrategycanbeusedtoclimbthesearch,simulatedannealing,greedyalgorithms,tabusearch,guidedlocalsearch.MemeticMemeticAlgorithmAlgorithm2015/01/05Applicationsmanyclas

21、sicalNPproblemForexamplegraphpartitioning,multidimensionalknapsack,travellingsalesmanproblem,quadraticassignmentproblem,setcoverproblem,minimalgraphcoloring,maxindependentsetproblem,binpackingproblem.Comparisonwiththegeneticalgorithmconvergesfaster,betterresults.MemeticMemeticAlgorithmAlgorithm2015/

22、01/05ExampleMemeticMemeticAlgorithmAlgorithm2015/01/05ExampleMemeticMemeticAlgorithmAlgorithm2015/01/05ExampleMemeticMemeticAlgorithmAlgorithm2015/01/05ExampleMemeticMemeticAlgorithmAlgorithm2015/01/05ExampleMemeticMemeticAlgorithmAlgorithm2015/01/05ExampleStepusingsimulatedannealingalgorithmforloca

23、lsearchSTEP1Givenaninitialtemperature,Individualastheinitialstateofthesimulatedannealingalgorithm;STEP2Generateanewstate,theneighborhoodfunctiondefinedasInotherstatesofthetwoitemstochoose;STEP3calculatethenumberofoldandnewstateenergy,theenergyfunctionalIsdefinedasthereciprocalofthefitnessfunction;ST

24、EP4acceptthenewstateaccordingtoguidelinesMetropolisSTEP5Samplingstabilitycriteriaaremet?truetheexecutionstep6,otherwisestep2;STEP6Returntemperaturefunction;STEP7Noterminationtemperatureswillreach?theoptimalstateasanewpopulationofanindividual;otherwisestep2.MemeticMemeticAlgorithmAlgorithm2015/01/05E

25、xampleAlgorithmicprocessGenerateinitialpopulationcalculatetheirfitnessfunctionVariationandcrossUsing Greedy strategy start constraintprocessing,all individuals is a viablesolutionCalculatefitnessfunctionforthenewpopulationandkeepthecurrentoptimalsolutionLocalSearchforindividualsStopuntilconditionsaresatisfiedinputOptimalresultsSettheinitialparametersYesNoMemeticMemeticAlgorithmAlgorithm2015/01/05Thank you

展开阅读全文
相似文档                                   自信AI助手自信AI助手
猜你喜欢                                   自信AI导航自信AI导航
搜索标签

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服