Skip to main content
. 2022 May 31;22(11):4204. doi: 10.3390/s22114204
Algorithm 1 Pseudo-code for chaotic and QRL population initialization
  • Step 1: Generate starting population Pstart of N/2 solutions with standard initialization expression: Xi=LB+(UBLB)·rand(0,1),i=1,,N/2, where rand(0,1) represents pseudo-random number drawn from the range [0,1].

  • Step 2: Randomly select 2 subsets of N/4 from Pstart for chaotic and QRL initialization, denoted as Pc and Pqrl, respectively.

  • Step 3: Extend Pc by applying chaotic sequences to each individual in Pc using expressions (19) and (20). The size of Pc after extension is N/2.

  • Step 4: Extend Pqrl by applying QRL mechanism to each individual in Pqrl using expression (21). The size of Pqrl after extension is N/2.

  • Step 5: Calculate fitness of all individuals from Pc and Pqrl.

  • Step 6: Sort all solutions from PcPqrl according to fitness.

  • Step 7: Select N best solutions as the initial population P.