代码搜索:种群进化

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

代码结果 1,664
www.eeworm.com/read/277808/10603363

asv de.asv

function [Pb,Deval]=DE D=2;%维数 NP=25;%NP为种群规模---- F=0.9;%交叉因子 CR=0.9;%交叉概率 eps=1e-10;%精度 gen_max=20;%最大进化代数 bounds=2.048*ones(D,2); bounds(:,1)=-1*bounds(:,1); rng=(bounds(:,2)-bounds(:,1))';
www.eeworm.com/read/281452/9155147

txt initial.txt

%程序初始化 gen=400; %设置进化代数 popsize=30; %设置种群规模大小 best_in_history(gen)=inf; %初始化全局历史最优解 best_in_history(:)=inf; %初始化全局历史最优解 max_velocity=0.3; %最大速度限制 best_fitness=inf; %popnum=1
www.eeworm.com/read/281452/9155148

asv initial.asv

%程序初始化 gen=400; %设置进化代数 popsize=30; %设置种群规模大小 best_in_history(gen)=inf; %初始化全局历史最优解 best_in_history(:)=inf; %初始化全局历史最优解 max_velocity=0.3; %最大速度限制 best_fitness=inf; %popnum=1
www.eeworm.com/read/281452/9155156

m initial.m

%程序初始化 n=8; gen=1000; %设置进化代数 popsize=30; %设置种群规模大小 best_in_history(gen)=inf; %初始化全局历史最优解 best_in_history(:)=inf; %初始化全局历史最优解 max_velocity=0.3; %最大速度限制 best_fitness=inf; %p