Research Article

Modification of Fish Swarm Algorithm Based on Lévy Flight and Firefly Behavior

Table 4

Time complexity analysis of AFSA.

Procedure of AFSATime complexity

(1) Initialization of N artificial fishes
(2) Initialization of ‘board’
(3) Swarming behavior
(4) Chasing behavior
(5) Preying behavior
(6) Judging of terminal condition
(7) Information output of ‘board’