⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asga.asv

📁 自适应变步长定向变异遗传算法解函数优化问题 需要调用GAOT5.
💻 ASV
字号:
%自适应变步长定向变异遗传算法 软件工程国家重点实验室 林志毅 2006.10.18
%The main program for adaptive step-changing directional mutation genetic
%algorithm
clf;
figure(gcf);
echo on
clc
initPop=initializega(30,[-3.0 12.1;4.1 5.8],'function1');
[x endPop bpop trace]=ga([-3.0 12.1;4.1 5.8],'function1',[],initPop,[1e-6 1 1],'maxGenTerm',300,'roulette',[0.08],'arithXover',[0.8 0],'GradMutation1',[0.7 100 2]);
x%the best found
%Let's take a look at the performance of the ga during the run



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -