steady.m
来自「The Source of Genetic Programming develo」· M 代码 · 共 13 行
M
13 行
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 + =
减小字号Ctrl + -
显示快捷键?