Research Article
An Improved Animal Migration Optimization Algorithm for Clustering Analysis
Algorithm 2
An improved animal’s migration optimization algorithm (IAMO).
| (1) Begin | | (2) Set the generation counter , living area radius , shrinkage coefficient , and randomly initialize | | with a population of animals in solution space | | (3) Evaluate the fitness for each individual , record the best individual | | (4) While stopping criteria is not satisfied do | | (5) Establish a new living area by , | | (6) Animals migrate into the new living area | | (7) For = 1 to do | | (8) For = 1 to do | | (9) Select randomly | | (10) If rand > then | | (11) | | (12) End If | | (13) End For | | (14) End For | | (15) For = 1 to do | | (16) Evaluate the offspring | | (17) If is better than then | | (18) | | (19) End If | | (20) End for | | (21) Memorize the best solution achieved so far | | (22) | | (23) End while | | (24) End |
|