📄 steady.m
字号:
function pop=steady(pop,state)
%STEADY Applies restrictions to the size of a GPLAB population.
% STEADY(POPULATION,STATE) returns the first STATE.INITPOPSIZE
% individuals from POPULATION (parents and offspring), for the
% next generation.
%
% Input arguments:
% POPULATION - ordered list of (parents and offspring) individuals (array)
% STATE - the current state of the algorithm (struct)
% Output arguments:
% POPULATION - individuals surviving into the next generation (array)
%
% See also RESOURCES, LOW, FRE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -