Review Article
An Improved Whale Algorithm for Setting Standard Scheduled Block Time Based on the Airline Fairness
| Initialize the whales population | | Calculate the fitness of each search agent | | : a randomly chosen search agent | (1) | While ( ≤ maximum number of iterations) | (2) | for each search agent | (3) | Update a by equation (24) | (4) | Update A, C, , and | (5) | if1 () | (6) | if2 (|A| < 1) | (7) | Update the position of the current search agent by equation (20) | (8) | else if2 (|A| ≥ 1) | (9) | Select a random search agent | (10) | Update the position of the current search agent by equation (15) | (11) | end if2 | (12) | else if1 () | (13) | Update the position of the current search by equation (22) | (14) | end if1 | (15) | end for | (16) | Check if any search agent goes beyond the search space and amend it | (17) | Calculate the fitness of each search agent | (18) | Update if there is a better solution | (19) | t = t + 1 | (20) | end while | (21) | return |
|