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, A, C, , and | (4) | if1 () | (5) | if2 (|A| < 1) | (6) | Update the position of the current search agent by equation (20) | (7) | else if2 (|A| ≥ 1) | (8) | Select a random search agent () | (9) | Update the position of the current search agent by equation (15) | (10) | end if2 | (11) | else if1 () | (12) | Update the position of the current search by equation (22) | (13) | end if1 | (14) | end for | (15) | Check if any search agent goes beyond the search space and amend it | (16) | Calculate the fitness of each search agent | (17) | Update if there is a better solution | (18) | t = t + 1 | (19) | end while | (20) | return |
|