MATLAB运行明明已经定义了参数 为啥总报错说未定义function [xv,fv]=GMGA(fitness,a,b,NP,NG,Pc,Pm,alpha,Pbm,eps)%大变异遗传算法L = ceil(log2((b-a)/eps+1));x = zeros(NP,L);for i=1:NP x(i,:) = Initial(L); fx(i) = fitness(Dec(a,b,x

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 12:23:58
xSQOP+w&KJv'ْ)eaBLaoƇ[H `=c:I@e8Y(b<v 1nY-iڜ;Lf/gϜSyE˾2ɞuiu֑_b\\4p嘒K PZg#0#iU4CF9@.9+rŤ滏jG(#sZO31Q38y|)^ߔH LF932*e>ΐ6Hխa1ƝI )ؾ7xw~Gm h %ee!o+@yUxP(;2"I?✤:kgȗ%hPD# !cF B{!Cp)L,shUηm osOVnGcğNLŌ"i0"YuAdU\/R)vlʀOKM\nw#X [V2MqulZ8Fmǭ*lM j^9dF8M?[~sݵjӍ*2 ʲtVv/.>1גr]g