Skip to main content
. 2023 Mar 25;25(4):561. doi: 10.3390/e25040561
Algorithm 1: Update of POP
Input: population POP; convergence-related decision variables CV;
   diversity-related decision variables DV
Output: updated population new_POP
  • 1.

    Select the parent population from POP by the tournament selection method according to the nondominated ranks of the individuals in POP;

  • 2.

    Obtain offspring population Q by performing the crossover and mutation operators only on the CV of the parent population;

  • 3.

    Candidates←POP∪ Q, obtain the nondominated ranks of the members in Candidates.

  • 4.

    Select N individuals with the better nondominated ranks from Candidates as POP1 and N is the size of POP;

  • 5.

    Select the parent population from POP1 randomly;

  • 6.

    Obtain offspring population Q by performing the crossover and mutation operators only on the DV of the parent population;

  • 7.

    Candidates←POP∪ Q, obtain the nondominated ranks of the members in Candidates.

  • 8.

    new_POP = {x|x∈Candidates and nondominate_rankx=1}. If |new_POP| > N, then delete members from new_POP randomly until |new_POP| = N.

  • 9.

    R = 2;

  • 10.

    While |new_POP| < N

  • 11.

      P contains the members from Candidates whose nondominated ranks is R;

  • 12.

      If |new_POP|+|P| > N

  • 13.

    While |new_POP| < N

  • 14.

            new_POP←new_POP∪argmaxx∈Pminy∈new_POPanglex,y;

  • 15.

            Delete x from P;

  • 16.

    EndWhile

  • 17.

      Else

  • 18.

            new_ POP ←new_POP∪ P

  • 19.

      EndIf

  • 20.

      R = R + 1;

  • 21.

    EndWhile