代码搜索:种群进化
找到约 1,664 项符合「种群进化」的源代码
代码结果 1,664
www.eeworm.com/read/395890/2432577
m main_cell.m
function [best_fit,best_fitvalue,out_dai,pop_best,time]=main_cell(pop1,n,popsize,chromlength,fun_num,up_range,down_range,var_num)
%函数说明
%入口参数:pop 当前处理的种群,
% n 绝对上限,
%
www.eeworm.com/read/395890/2432595
asv main_text.asv
function [best_fit,best_fitvalue,out_dai,pop_best,time]=main_text(pop1,n,popsize,chromlength,fun_num,up_range,down_range,var_num)
%函数说明
%入口参数:pop 当前处理的种群,
% n 绝对上限,
%
www.eeworm.com/read/395890/2432605
asv main_cell_li.asv
function [best_fit,best_fitvalue,out_dai,pop_best,time]=main_cell_li(pop,n,popsize,chromlength,fun_num,up_range,down_range,var_num)
%函数说明
%入口参数:pop 当前处理的种群,
% n 绝对上限,
www.eeworm.com/read/395890/2432623
m main_complete.m
%
function [best_fit,best_fitvalue,out_dai,best_dna,time]=main_complete(pop1,n,popsize,chromlength,fun_num,up_range,down_range,var_num)
%函数说明
%入口参数:pop 当前处理的种群,
% n 绝对上
www.eeworm.com/read/193004/8258515
m outputdata.m
%实时输出结果
%输出当前种群中粒子位置
subplot(1,2,1);
for i=1:popsize
plot(pop(i,1),pop(i,2),'b*');
hold on;
end
plot(gbest_x,gbest_y,'r.','markersize',20);axis([-2,2,-2,2]);
hold off;
subplot(1
www.eeworm.com/read/193004/8258521
asv outputdata.asv
%实时输出结果
%输出当前种群中粒子位置
subplot(1,2,1);
for i=1:popsize
plot(pop(i,1),pop(i,2),'b*');
hold on;
end
plot(gbest_x,gbest_y,'r.','markersize',20);axis([-2,2,-2,2]);
hold off;
subplot(1
www.eeworm.com/read/393847/8259723
m outputdata.m
%实时输出结果
%输出当前种群中粒子位置
subplot(1,2,1);
for i=1:popsize
plot(pop(i,1),pop(i,2),'b*');
hold on;
end
plot(gbest_x,gbest_y,'r.','markersize',20);axis([-2,2,-2,2]);
hold off;
subplot(1
www.eeworm.com/read/393847/8259727
asv outputdata.asv
%实时输出结果
%输出当前种群中粒子位置
subplot(1,2,1);
for i=1:popsize
plot(pop(i,1),pop(i,2),'b*');
hold on;
end
plot(gbest_x,gbest_y,'r.','markersize',20);axis([-2,2,-2,2]);
hold off;
subplot(1
www.eeworm.com/read/392199/8358018
m myga.m
function [f,x,pp1]=myga(num,N,bounds,SC,CP,P)
%[f,x]=myga(num,N,bounds,SC,CP,P)
%[f,x]=myga([],[],bounds,[],[],[])
%该遗传算法适用于:
% 目标函数为求最小值
%num 初始种群数
%bounds 边界约束
%N
www.eeworm.com/read/369396/9650769
txt contents.txt
遗传算法程序
主要程序
ga.m 遗传算法核心程序
BinaryExample.m 二进制编码应用程序
FloatExample.m 浮点编码的应用程序
相关算子及函数
initializega.m 种群初始化函数
simpleXover.m