📄 get_options.txt
字号:
%本函数是对参数的设置
function psoOptions = get_Options()
psoOptions = struct(... %Variables of the PSO
'Vars', struct(...
'PopSize', 10, ... %Swarm Size
'Iterations', 5,... %Maximum Iterations
'GoalInprove', 1e-2,...
'ErrGoal', 5e-5 ), ... %Error goal
... %Stratergy Parameters
'SParams', struct(...
'c1', 2.05, ... %Cognitive Acceleration
'c2', 2.05, ... %Social Acceleration
'Vmax', 2.837,... %Maximum velocity step
'Chi', 0.7298 ), ... %Constriction factor
'population',20);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -