View full-text article in PMC Sensors (Basel). 2020 Apr 10;20(7):2147. doi: 10.3390/s20072147 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 3 Pseudo Code of FWGWO 1. Initialize the wolf population Xi(i=1,2,…,n)2. Initialize a, A, k, t and C3. Calculate the fitness of each search agent4. Xα=the best search agent5. Xβ=the second best search agent6. Xδ=the third best search agent7. while (t<Max number of iterations)8. foreach search agent9. Update the position of the current search agent by equation (7)10. end for11. Updatea,A,andC12. Calculate the fitness of all search agents13. UpdateXα,Xβ,and Xδ14. ifXα changed then15. Update the adaptive balance coefficient (p) by equation (16)16. end if17. if k >= T and rand() > p then18. for eachsearchagent xi do19. Generate explosion sparks20. end for21. GeneratemGaussian spark for the search agents22. Selecnewsearchagentsbyequation (15)23. t=t+124. k=025. end if26. k=k+1 t=t+127.end while28.return Xα