Skip to main content
. 2022 Feb 25;22(5):1826. doi: 10.3390/s22051826
Algorithm 1: GWO pseudo-code.
1. Randomly initialize the grey wolves’ population.
2. Initialize ϑj,0, υj,0, and λj,0i.
3. Calculate the objective values for each search agent and select x0α, x0β, and x0δ.
4. Update the position of the current search agent.
5. Update ϑj,k, υj,k, and λj,ki
6. Calculate the objective values of all search agents by applying Equation (10).
7. Update the positions xkα, xkβ, and xkδ.
8. Check the termination criterion and make iterations repeated.