Research Article
An Improved Fruit Fly Optimization Algorithm Inspired from Cell Communication Mechanism
(1) Begin | (2) Initialize fruit fly swarm with random position , | (3) Give the random direction and distance for search of food, set = 0 | , | (4) The smell concentration judgment value () is the reciprocal of the distance of the food location to the origin () | , , | (5) Evaluate the corresponding objective function of every fruit fly and record each fruit fly’s best previous position (, ), | worst position (, ), the mean of objective function (), and the worst of objective function (). | (6) While do | (7) , | (8) , , | (9) Update each fruit fly’s position using the following formulas: | If () | | | end | If () | | | end | If () | | | end | (10) Update , , | (11) End |
|