Research Article
A Novel Hybrid Self-Adaptive Bat Algorithm
Algorithm 1
Pseudocode of the original bat algorithm.
Input: Bat population for . | Output: The best solution and its corresponding value . | (1) init_bat(); | (2) eval = evaluate_the_new_population; | (3) = find_best_solution(); {initialization} | (4) while termination_condition_not_meet do | (5) for to do | (6) = generate_new_solution(); | (7) if then | (8) = improve_the_best_solution() | (9) end if {local search} | (10) if = evaluate_new_solution(); | (11) ; | (12) if and then | (13) ; ; | (14) end if {simulated annealing} | (15) = find_the_best_solution(); | (16) end for | (17) end while |
|