Research Article
Adaptive Bacterial Foraging Optimization
Pseudocode 2
Pseudocode of the dynamic self-adaptive strategy.
(1) FOR (each bacterium ) IN PARALLEL | (2) IF (Criterion-1) then | (3) ; //exploit | (4) ; | (5) ELSE IF (Criterion-2) then | (6) ; //explore | (7) ; | (8) ELSE | (9) ; | (10) ; | (11) END IF | (12) END FOR IN PARALLEL |
|