代码搜索:种群进化

找到约 1,664 项符合「种群进化」的源代码

代码结果 1,664
www.eeworm.com/read/251858/12314366

m search.m

%解搜索函数 %=============================================== %第一种群数据 %初始化禁忌表 for i=1:ant_n_A for j=1:city_n tobu_A(i,j)=0; end end %随机放置蚂蚁初始位置 for i=1:ant_n_A city=round((cit
www.eeworm.com/read/128434/14299128

txt 最优结果(轮盘赌).txt

书上的20个城市 终止代数5000(运行20次) ——执行时有时会死机 float pc=0.5; //交叉率 float pm=0.03; //变异率 初始种群:均匀分布表比重:100%;选择方法:轮盘赌 **最短旅程距离:27.681147 1**********************************************************
www.eeworm.com/read/222263/14699176

m adapting.m

%回路长度计算 %========================================= %第一种群计算 for i=1:ant_n_A dis=0; dis_sum=0; x1=0; x2=0; y1=0; y2=0; for j=1:(city_n-1) %计算前段距离
www.eeworm.com/read/222263/14699177

m search.m

%解搜索函数 %=============================================== %第一种群数据 %初始化禁忌表 for i=1:ant_n_A for j=1:city_n tobu_A(i,j)=0; end end %随机放置蚂蚁初始位置 for i=1:ant_n_A city=round((cit
www.eeworm.com/read/395890/2432037

asv complete3_o_crossover.asv

%交叉 %遗传算法子程序 %Name: crossover.m %交叉 function [newpop]=complete3_o_crossover(popsize,pop,pc,fitvalue,fun_num,up_range,down_range,var_num) %函数说明 %入口参数:pop 当前处理的种群, % popsize
www.eeworm.com/read/395890/2432041

m complete3_o_crossover_cell.m

%交叉 %遗传算法子程序 %Name: crossover.m %交叉 function [newpop]=complete3_o_crossover_cell(popsize,pop,pc,fitvalue,fun_num,up_range,down_range,var_num) %函数说明 %入口参数:pop 当前处理的种群, % popsi
www.eeworm.com/read/395890/2432070

asv main_cell.asv

% function [best_fit,best_fitvalue,out_dai,pop_best,time]=main_cell(pop,n,popsize,chromlength,fun_num,up_range,down_range,var_num) %函数说明 %入口参数:pop 当前处理的种群, % n 绝对上限, %
www.eeworm.com/read/395890/2432071

m main_improve_complete3_new.m

function [best_fit,best_fitvalue,out_dai]=main_improve_complete3_new(pop,n,popsize,chromlength,fun_num,up_range,down_range,var_num) %函数说明 %入口参数:pop 当前处理的种群, % n 绝对上限,
www.eeworm.com/read/395890/2432090

m complete3_o_crossover.m

%交叉 %遗传算法子程序 %Name: crossover.m %交叉 function [newpop]=complete3_o_crossover(popsize,pop,pc,fitvalue,fun_num,up_range,down_range,var_num) %函数说明 %入口参数:pop 当前处理的种群, % popsize
www.eeworm.com/read/395890/2432104

asv complete3_o_crossover.asv

%交叉 %遗传算法子程序 %Name: crossover.m %交叉 function [newpop]=complete3_o_crossover(popsize,pop,pc,fitvalue,fun_num,up_range,down_range,var_num) %函数说明 %入口参数:pop 当前处理的种群, % popsize