low.m

来自「The Source of Genetic Programming develo」· M 代码 · 共 14 行

M
14
字号
function pop=low(pop,state)
%LOW    Applies restrictions to the size of a GPLAB population.
%   LOW(POPULATION,STATE) returns the first STATE.POPSIZE individuals from
%   POPULATION (parents and offspring), for the next generation. Does
%   basicaly the same as fixedpopsize.m but is used in a different context,
%   that of resource-limited GP, instead of fixed population size GP.
%   
%   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, STEADY, FRE

⌨️ 快捷键说明

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