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

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

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

代码说明:

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

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

发表评论

0 个回复

  • encode
    (7 4)汉明编码源程序,简单实用,可供大家下载,如有问题,望大家多多包含!((74) Hamming code source, simple and practical, available for everyone to download and, if problems, hope you lot included!)
    2010-01-13 11:37:25下载
    积分:1
  • spectral-estimation
    this program will help you to perform spectral estimation using different algorithms such as spectogram
    2013-08-11 22:58:20下载
    积分:1
  • 变采样和多相滤波器的实现
    变采样和多相滤波器的实现。本程序实现了一个变采样程序,中间设计滤波器设计和插值抽取。其中滤波器设计用的是窗函数法,根据要求设计窗函数,得到窗函数的长度。接着是插值,滤波,抽取,得到最后变采样之后的波形文件、另外对比了用直接卷积和多相分解卷积两种方法最后的结果。 (Implementation of variable sampling and polyphase filter. This procedure implements a variable sampling procedures, intermediate design and interpolation and decimation filter design. The filter design is using the window function method, according to the requirements of the design of window function, get the length of the window function. Then the interpolation, filtering, extraction, and finally obtain the variable wave file, sampling after the addition of contrast and polyphase decomposition results of two methods for convolution last direct convolution.)
    2021-05-09 18:28:34下载
    积分:1
  • Matlab2010
    虽然为一本旧版本的书,但是一本较清晰的教科书,附录中有一些常用概念的索引也非常有用(Although an old version of the book, but a clear textbook appendix useful index of some commonly used concepts)
    2012-10-25 02:19:58下载
    积分:1
  • 翻译 matrix 和 holser
    通过将特征行列式设置为零来找到多自由度系统的固有频率(特征值)和自然模式(特征向量)。 虽然这是一个精确的方法,但是对于大的n值,特征行列式的扩展和所得到的n阶多项式方程的解来获得固有频率可能变得相当乏味。 已经开发了几种分析和数值方法来计算多自由度系统的固有频率和模式形状。 在这段代码中,我们将考虑传递矩阵和holser方法。
    2023-06-04 08:10:03下载
    积分:1
  • elm
    神经网络的ELM算法,比传统的BP和SVM都快,而且效果也很精确。运行平台是matlab,本人已经对原始ELM做了修改,可以适应多种函数,而且在数据处理方面自动产生分类矩阵。(ELM neural network algorithm, than the traditional BP and SVM faster, but the effect is also very accurate. Platform is running matlab, I have to do the original ELM been modified to adapt to a variety of functions, but also in data processing is automatically generated classification matrix.)
    2008-07-31 11:57:36下载
    积分:1
  • PSSE
    说明:  PSS/E傻瓜教程 第1章.PSSE概述.doc 第2章.用户界面.doc 第3章.管理潮流界面.doc 第4章.潮流计算.doc 第5章.预想事故分析.doc 第7章 短路故障分析.doc 第8章 平衡开关.doc ....(PSS/E step by step tutorial)
    2009-07-23 23:28:25下载
    积分:1
  • P411
    说明:  模式识别作业第411面的源程序,实现交叉验证算法(Pattern recognition operations side of the source 411 to achieve cross-validation algorithm)
    2010-05-01 09:13:30下载
    积分:1
  • chertr1
    一个很好的学习图像处理的函数的例子程序,对于初级学习者来说,有很好的帮助,对于初学习者非常适合!(a good learning image processing function examples procedures for primary learners, good help, very suitable for early learners!)
    2007-03-22 23:19:01下载
    积分:1
  • smooth_diffusion
    实现把Color图像转化为RGB分量图的matlab程序代码和扩散方程滤波的源代码(achieving Color images into RGB component map Matlab code and filter diffusion equation Wave of source code)
    2007-04-12 08:41:15下载
    积分:1
  • 696516资源总数
  • 106752会员总数
  • 15今日下载