二进制的遗传算法我要分享

Binary Genetic Algorithm

matlab 算法 遗传 二进制

关注次数: 199

下载次数: 0

文件大小: 3.90 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明: 这在多边形和包括以下.m 文件中的二进制遗传算法实现: Crossover.m Decoding.m Fitness.m Initialize.m Main.m Mutation.m ObjFun.m Selection.m 在 main.m 文件中: %N = 人口 (建议的解决方案的数量) %L = 长度的解决方案 %m = 变量或维度的数量 李 %= 每个变量的长度,是一个 m 向量 %最大值 = 最大值的每个变量,是一个 m 向量 %Min = Min 的每个变量,是一个 m 向量 %Maxvalue = Maximom 值的目标函数 %Imax = 每个迭代的最大值 日最高气温 %= 总最大 %Mutrate = 突变率 %Mutingpool = 突变池 %人口、 matepool、 MutingPool: 是 N * L 矩阵 %健身: 是 N 矢量


English Description:

This the implimentation of Binary Genetic Algorithm in mathlab and including the following .m files: Crossover.m Decoding.m Fitness.m Initialize.m Main.m Mutation.m ObjFun.m Selection.m in the main.m file:   % N =population (number of suggested solutions) % L =lenght of solutions % m =number of variables ,or Dimension % Li =lenght of each variables, is a m Vector % Max =Max of each variables, is a m Vector % Min =Min of each variables, is a m Vector % Maxvalue =Maximom value of objective function % IMax =Max of each iteration % TMax =Tota


代码预览