|
Algorithm 1 Pseudocode of PL-AOA |
| 1: Initialize the parameters related to the algorithm: . |
| 2: Generate initial population containing individuals . |
| 3: Divide into 4 groups. |
| 4: Do |
| 5: if
|
| 6: Update the by Equation (1). |
| 7: else |
| 8: Update the by Equation (2). |
| 9: for i = 1:
|
| 10: for i = 1:
|
| 11: if
|
| 12: Update the best solution obtained so far. |
| 13: Change flight status according to iteration. |
| 14: end |
| 15: if
|
| 16: Update the by Equation (6) and calculate its fitness value. |
| 17: if
|
| 18: Update the best solution obtained so far. |
| 19: Change flight status according to iteration. |
| 20: end |
| 21: end |
| 22: While (
|
| 23: Return the best solution obtained so far as the global optimum. |