function [FrontNo,MaxFNo] = ENS_SS(PopObj,nSort)
[PopObj,~,Loc] = unique(PopObj,'rows');
Table = hist(Loc,1:max(Loc));
[N,M] = size(PopObj);
FrontNo = inf(1,N);
MaxFNo = 0;
while sum(Table(FrontNo<inf)) < min(nSort,length(Loc))
MaxFNo = MaxFNo + 1;
for i = 1 : N
if FrontNo(i) == inf
Dominated = false;
for j = i-1 : -1 : 1
if FrontNo(j) == MaxFNo
m = 2;
while m <= M && PopObj(i,m) >= PopObj(j,m)
m = m + 1;
end
Dominated = m > M;
if Dominated || M == 2
PlatEMO-NDsort
最新推荐文章于 2022-03-24 15:10:47 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)