Skip to main content
. 2019 Aug 17;19(16):3580. doi: 10.3390/s19163580
Algorithm 1 The optimize of sparse-arrays’ arrangement by GA
Step 1 Initialization: Initializing the individual chromosome, which represents the sparse-array arrangement. The length of the individual chromosome is initialed as I (that is, the number of grid points N). The existence or nonexistence of each gene in a chromosome is defined by binary code 1 and 0. Initializing the number of array elements G to randomly generate the initial population Np, initial crossover probability as Pc, initial mutation probability as Pm, and initial iteration times as Nt. s is the probability of random generation of each gene.
Step 2 Fitness assignment: Substituting each individual chromosome into the fitness function to calculate the corresponding fitness value. The peak side lobe level in the radiation pattern is taken as the fitness function, which is given as f(i)=min{SLp−i}, where SLp−i is the peak side-lobe level of the ith optimized array.
Step 3 Selection: The optimal fitness value and chromosome of each generation were both reserved, and the rest were selected according to the Roulette Wheel Selection Method to pass on to the next generation.
Step 4 Crossover: Crossover was carried out in this step, and it will occur if s>Pc; otherwise, no crossover will occur.
Step 5 Mutation: Mutation was carried out in this step, and it will occur if s>Pm; otherwise, no mutation will occur.
Step 6 Termination conditions determine: The iteration times and the change rate of the optimal peak side-lobe level were taken as the termination conditions. If one of the termination conditions was satisfied, then the individuals with the best fitness of a certain generation can be obtained as the global optimal solution, which is the optimal arrangement of sparse-array elements; otherwise, go back to Step 2 and repeat.