代码搜索:种群进化
找到约 1,664 项符合「种群进化」的源代码
代码结果 1,664
www.eeworm.com/read/424738/10420761
m ga.m
function GAforTSP()
CityNum=30;
[dislist,Clist]=tsp(CityNum);
inn=100; %初始种群大小
gnmax=1000; %最大代数
pc=0.8; %交叉概率
pm=0.8; %变异概率
%产生初始种群
for i=1:inn
s(i,:)=randperm(CityNum);
end
[f,
www.eeworm.com/read/395890/2432045
m my_sga_best.m
function [bestindividual,bestfit]=my_sga_best(popsize,pop,fitvalue)
%函数说明
%入口参数:pop 当前处理的种群,
% popsize 种群大小,
% fitvalue 适应度值数组
%出口参数:bestindividual 当前代中的最优个体,
%
www.eeworm.com/read/395890/2432112
m my_sga_best.m
function [bestindividual,bestfit]=my_sga_best(popsize,pop,fitvalue)
%函数说明
%入口参数:pop 当前处理的种群,
% popsize 种群大小,
% fitvalue 适应度值数组
%出口参数:bestindividual 当前代中的最优个体,
%
www.eeworm.com/read/395890/2432179
m my_sga_best.m
function [bestindividual,bestfit]=my_sga_best(popsize,pop,fitvalue)
%函数说明
%入口参数:pop 当前处理的种群,
% popsize 种群大小,
% fitvalue 适应度值数组
%出口参数:bestindividual 当前代中的最优个体,
%
www.eeworm.com/read/395890/2432245
m my_sga_best.m
function [bestindividual,bestfit]=my_sga_best(popsize,pop,fitvalue)
%函数说明
%入口参数:pop 当前处理的种群,
% popsize 种群大小,
% fitvalue 适应度值数组
%出口参数:bestindividual 当前代中的最优个体,
%
www.eeworm.com/read/395890/2432311
m my_sga_best.m
function [bestindividual,bestfit]=my_sga_best(popsize,pop,fitvalue)
%函数说明
%入口参数:pop 当前处理的种群,
% popsize 种群大小,
% fitvalue 适应度值数组
%出口参数:bestindividual 当前代中的最优个体,
%
www.eeworm.com/read/395890/2432377
m my_sga_best.m
function [bestindividual,bestfit]=my_sga_best(popsize,pop,fitvalue)
%函数说明
%入口参数:pop 当前处理的种群,
% popsize 种群大小,
% fitvalue 适应度值数组
%出口参数:bestindividual 当前代中的最优个体,
%
www.eeworm.com/read/395890/2432443
m my_sga_best.m
function [bestindividual,bestfit]=my_sga_best(popsize,pop,fitvalue)
%函数说明
%入口参数:pop 当前处理的种群,
% popsize 种群大小,
% fitvalue 适应度值数组
%出口参数:bestindividual 当前代中的最优个体,
%
www.eeworm.com/read/395890/2432511
m my_sga_best.m
function [bestindividual,bestfit]=my_sga_best(popsize,pop,fitvalue)
%函数说明
%入口参数:pop 当前处理的种群,
% popsize 种群大小,
% fitvalue 适应度值数组
%出口参数:bestindividual 当前代中的最优个体,
%
www.eeworm.com/read/395890/2432578
m my_sga_best.m
function [bestindividual,bestfit]=my_sga_best(popsize,pop,fitvalue)
%函数说明
%入口参数:pop 当前处理的种群,
% popsize 种群大小,
% fitvalue 适应度值数组
%出口参数:bestindividual 当前代中的最优个体,
%