Modified Atom Search Optimization Based on Immunologic Mechanism and Reinforcement Learning
Algorithm 2
Pseudocode of the modified atom search optimization based on the immunologic mechanism and reinforcement learning.
(1)
Chaotic initialize a set of atoms X (solutions) and randomly initialize their velocity , evaluate the fitness values by using the objective function, and then calculate and . Determine the parameters.
(2)
While the stop criterion is not satisfied do
(3)
For each atom do
(4)
Calculate the massing using equations (2) and (3);