搜索资源列表
Gan
- 遗传算法的主程序 采用二进制Gray编码,采用基于轮盘赌法的非线性排名选择, 均匀交叉,变异操作,而且还引入了倒位操作!-The main genetic algorithm binary Gray code, roulette method based on linear ranking selection, uniform crossover and mutation, but also introduces the inversion operation!
GA_SOURCE_CODE
- 二进制编码的遗传算法源程序,可以对此算法进行改进,编写出自己需要的程序-Binary-coded genetic algorithm source code, you can improve on this algorithm, write out the procedures they need
ga
- GA算法代码 function pop=initpop(popsize,chromlength) pop=round(rand(popsize,chromlength)) rand 随机产生每个单元为 {0,1} 行数为 popsize,列数为 chromlength 的矩阵, roud 对矩阵的每个单元进行圆整。这样产生的初始种群。 2.2 计算目标函数值 2.2.1 将二进制数转化为十进制数(1) 遗传算法子程序 Name: decodebinary.
ga01beibao
- 改进后的遗传算法采用自然数直接编码在个体选择上结合使用常用的最优个体保留策略和轮盘赌法,基于经典0-1背包问题的数学模型基础,构造改进后的遗传算法和适应度评估,减少二进制编码或浮点型编码的复杂性,同时精 简 适 应 度 评 估 的 计 算。-Improved genetic algorithm uses natural number encoded on individual choice combined with the use of commonly used best individua