Research Article

Log-Linear Model Based Behavior Selection Method for Artificial Fish Swarm Algorithm

Algorithm 1

Improved AFSA based on log-linear model.
(1) Initialize variables;
(2) Construct the log-linear model by (8).
(3) Each fishes update their location.
 (a) If  , perform adaptive movement behavior by (13) to (15);
    else perform traditional prey behavior, swarm behavior and follow behavior.
 (b) If  , perform population inhibition behavior;
 (c) If  , then perform population expansion behavior by (16).
(4) The threshold gradually reduced which can lead to the dispersion of fishes;
(5) Update the optimal value;
(6) If the termination condition is satisfied, output the optimal value; otherwise return to Step  2.