Non-dominant relationship Matlab description
Find useful, welcome to discuss mutual learning together - Follow Me
rule
- If A is on the individual goals are all less subject B and at least one less than the target individual B A disposable claimed subject B.
- A dominant if the condition of the individual subject B is absent and A smaller than B on the target and at least one A smaller than B on at least one target, then A and B are non-dominance relationship
% 遍历所有M个目标值
for obj_index=1:Global.M
if NewPop.obj(obj_index)<=Population(i).obj(obj_index)
% 如果目标值小于等于则计数值加1
offspringless_or_equal= offspringless_or_equal+1;
if NewPop.obj(obj_index)<Population(i).obj(obj_index)
% 如果目标值完全小于则计数值加1
offspringless=offspringless+1;
end
else parentless=parentless+1;
end
end
% 如果新解可以支配旧解
if((offspringless_or_equal==Global.M)&&(offspringless>0))
Population(i)=NewPop;
%如果两者非支配
elseif((offspringless>0)&&(parentless>0))