登录
首页 » Matlab » GA(genetic algorithm)遗传算法源代码

GA(genetic algorithm)遗传算法源代码

于 2022-03-30 发布 文件大小:2.95 kB
0 46
下载积分: 2 下载次数: 1

代码说明:

区别于传统算法,遗传算法以初始种群中每个个体为“染色体”开始搜索,这些染色体经过一系列的后期迭代不断进化,每一代都以“适应度”衡量其好坏,生成的下一代称为“后代”,后代由前代经过交叉、变异产生。染色体被选中的概率和其适应度高低相关,最后,算法收敛于最好的染色体。一般的遗传算法基本步骤如下:1.确定编码方案,随机生成初始种群;2.确定适应度函数,计算每个个体的适应度,判断是否符合相应准则,如果符合,则输出最优解,若不符合,则进入第3步;3.根据适应度选择再生个体,适应度越高,被选中的概率越高,适应度越低,被淘汰的可能性越大;4.交叉以产生新个体;5.变异以产生新个体6.根据第4步和第5步生成新种群,返回第2步,直到符合相应准则并输出最优个体与代表的最优解。 

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • RK4
    using Matlab prepared by the four bands Runge-Kutta procedure
    2011-08-03 14:04:16下载
    积分:1
  • error-performance-of-dvb-s2
    error performane of dvb-s
    2016-12-04 06:47:53下载
    积分:1
  • WMembed
    水印的嵌入,在图象中嵌入水印,以提高安全性与可靠性(Embedded watermark, the watermark embedded in the images to enhance the security and reliability)
    2009-07-16 09:53:45下载
    积分:1
  • FOChua
    Numerical solutions of the fractional order chaotic systems
    2011-02-24 04:22:41下载
    积分:1
  • 04470111
    the location based collaboration, the change of the spatio- temporal relationship of the people-people or people-place is the key context for collaboration. So, the location based collaborative environment should support the spatio-temporal event sub/pub service. The key problem in spatio-temporal event subscription is how to specify the different spatio-temporal events.
    2013-02-19 15:44:00下载
    积分:1
  • MCQPSKrun
    本程序仿真在给定系统延时下的QPSK系统误码率,其中没有使用成形滤波器,考虑了相位同步和符号同步,对工程人员很有参考价值(QPSK err rate simulation)
    2013-05-04 21:36:23下载
    积分:1
  • gongchengshi
    硬件工程师手册(全) 硬件工程师手册(全) 硬件工程师手册(全)(Hardware Engineer Manual (full) Hardware Engineers Handbook (full))
    2010-06-22 07:38:23下载
    积分:1
  • OV9650_IG_v1.1
    OmniVision OV9650 Color CMOS SXGA (1.3 MegaPixel) CameraChip™ Implementation Guide, Version: 1.1
    2010-09-21 09:26:11下载
    积分:1
  • 123.rar
    说明:  从小数据量计算最大李氏指数的一种实用方法。(data from the largest Lyapunov exponent is calculated as a practical method.)
    2006-04-19 20:16:05下载
    积分:1
  • antennainmatlab
    matlab codes for antenna design
    2010-04-28 15:54:17下载
    积分:1
  • 696518资源总数
  • 105717会员总数
  • 10今日下载