Research Article
Orthogonal Genetic Algorithm for Planar Thinned Array Designs
Algorithm 1
The pseudocode of OGA.
Initialize: population size , crossover rate , mutation rate , maximal number of | generations and current generation counter | Initialize randomly the initial population of size binary strings | Evaluate each individual | WHILE stopping rule is not invoked DO | Select a suitable two-level orthogonal array for matrix experiments | Orthogonal Crossover Operation | FOR to | IF | Select two random parents | Execute the matrix experiment for and | Calculate the function values of individuals generated by the matrix experiment | Calculate the effects of the various factors by using factor analysis, | Generate an optimal individual | END IF | | END FOR | | Mutation Operation | FOR to | IF | Select one random individual , and choose randomly two gene bits in this individual | Change these two gens from 0 to 1 or vice versa, and generate a new individual | END IF | | END FOR | Select Operation | Sort | Copy the first solutions of , and retain the best individual | END WHILE |
|