登录
首页 » Matlab » 遗传算法在背包问题的应用

遗传算法在背包问题的应用

于 2022-12-02 发布 文件大小:229.21 kB
0 88
下载积分: 2 下载次数: 2

代码说明:

遗传算法(Genetic Algorithm)是模拟达尔文生物进化论的自然选择和遗传学机理的生物进化过程的计算模型,是一种通过模拟自然进化过程搜索最优解的方法。遗传算法是从代表问题可能潜在的解集的一个种群(population)开始的,而一个种群则由经过基因(gene)编码的一定数目的个体(individual)组成。每个个体实际上是染色体(chromosome)带有特征的实体。染色体作为遗传物质的主要载体,即多个基因的集合,其内部表现(即基因型)是某种基因组合,它决定了个体的形状的外部表现,如黑头发的特征是由染色体中控制这一特征的某种基因组合决定的。因此,在一开始需要实现从表现型到基因型的映射即编码工作。由于仿照基因编码的工作很复杂,我们往往进行简化,如二进制编码,初代种群产生之后,按照适者生存和优胜劣汰的原理,逐代(generation)演化产生出越来越好的近似解,在每一代,根据问题域中个体的适应度(fitness)大小选择(selection)个体,并借助于自然遗传学的遗传算子(genetic operators)进行组合交叉(crossover)和变异(mutation),产生出代表新的解集的种群。这个过程将导致种群像自然进化一样的后生代种群比前代更加适应于环境,末代种群中的最优个体经过解码(decoding),可以作为问题近似最优解。

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

发表评论

0 个回复

  • yasuobianma
    图形图象综合应用—图象的方块压缩编码,主要用于帮助图形图象的初学者学习(Comprehensive application of graphics images- images of box compression coding, the main graphical image used to help beginners learn)
    2008-04-07 08:32:23下载
    积分:1
  • leijiayanse
    累加颜色直方图法图像检索,包含基本程序、图片库以及WORD说明文档(Cumulative color histogram image retrieval, including basic procedures, photo gallery and documentation WORD)
    2011-05-21 18:30:06下载
    积分:1
  • wkfunctional
    Surface Fitting of both Positions and Normals without going through the points exactly
    2011-05-26 13:10:33下载
    积分:1
  • 30-Bus-New-England-Dynamic-Test-Case
    电力系统30母线的动态数据,适用于电力系统动态仿真(30 bus power system dynamic data for dynamic simulation of power system.)
    2012-07-29 18:51:35下载
    积分:1
  • fseries
    使用Matlab实现函数的傅里叶级数展开(Implement the function using the Matlab Fourier series expansion)
    2011-04-28 17:23:42下载
    积分:1
  • fecgm
    独立成份分析(ICA)以及winner滤波 Source separation of complex signals with JADE. Jade performs `Source Separation in the following sense: X is an n x T data matrix assumed modelled as X = A S + N where o A is an unknown n x m matrix with full rank. o S is a m x T data matrix (source signals) with the properties a) for each t, the components of S(:,t) are statistically independent b) for each p, the S(p,:) is the realization of a zero-mean `source signal . c) At most one of these processes has a vanishing 4th-order cumulant. o N is a n x T matrix. It is a realization of a spatially white Gaussian noise, i.e. Cov(X) = sigma*eye(n) with unknown variance sigma. This is probably better than no modeling at all...( Source separation of complex signals with JADE. Jade performs `Source Separation in the following sense: X is an n x T data matrix assumed modelled as X = A S+ N where o A is an unknown n x m matrix with full rank. o S is a m x T data matrix (source signals) with the properties a) for each t, the components of S(:,t) are statistically independent b) for each p, the S(p,:) is the realization of a zero-mean `source signal . c) At most one of these processes has a vanishing 4th-order cumulant. o N is a n x T matrix. It is a realization of a spatially white Gaussian noise, i.e. Cov(X) = sigma*eye(n) with unknown variance sigma. This is probably better than no modeling at all...)
    2010-05-27 23:08:51下载
    积分:1
  • broadband_match_amplifier_objective_function
    BROADBAND_MATCH_AMPLIFIER_OBJECTIVE_FUNCTION Is the objective function
    2015-02-13 17:37:22下载
    积分:1
  • ex1d.rar
    一款很好用的MATLAB程序,运行会可以从清楚 的图形中看到结果(A good use of MATLAB procedures, will run from clear to see the results of graphics)
    2007-12-25 22:24:18下载
    积分:1
  • SVM
    说明:  支持向量机 matlab 源代码 m文件(SVM matlab)
    2010-04-07 22:58:22下载
    积分:1
  • apfft
    说明:  全相位FFT算法是天津大学的王兆华和候正信教授提出的,具有初始相位不变和有效防止频谱泄露的特性,在他的相关书籍上做过严格的证明,并有相应的matlab程序。(All-phase FFT algorithm is proposed by Professor Wang Zhaohua and Professor Hou Zhengxin of Tianjin University. It has the characteristics of invariant initial phase and effective prevention of spectrum leakage. It has been strictly proved in his relevant books and has corresponding matlab program.)
    2019-05-10 11:17:56下载
    积分:1
  • 696516资源总数
  • 106794会员总数
  • 11今日下载