|
Algorithm 1. Shows the Pseudo Code of AMG-QUATRE Algorithm.
|
|
// Initialization phase
|
| Initialize the searching space V, dimension D, Set the generation counter Gen=1, randomly initialize the population with individuals, and evaluate fitness values of all individuals, set initial , . |
| // Main loop
|
| 1: while stopping criterion is not satisfied do
|
| 2: Randomly partition the population into three groups, , and
|
| 3: Generate matrices and , and , and , using Equation (3). |
| 4: Calculate mutation matrix using QUATRE/target-to-best/1, using QUATRE/rand/1, using QUATRE/best/1. |
| 5: Evolve individuals in each group using Equation (1). |
| 6: Evaluate fitness values of all individuals. |
| 7: for
do
|
| 8: if
then
|
| 9:
|
| 10: end if
|
| 11: end for
|
| 12: , . |
| 13: Update scale factor F according to Equation (12). |
| 14:
|
| 15: end while
|
| Output: The global optimum , global best fitness value . |