Research Article
GWO-LPWSN: Grey Wolf Optimization Algorithm for Node Localization Problem in Wireless Sensor Networks
Algorithm 1
Pseudocode for the GWO [
31].
Initialize the Grey Wolf population and algorithm parameters | Evaluate the fitness of each search agent | Initialize the first best solution as , | Second best solution as and | Third best solution as | While ( number of iteration or stop criteria obtained) | For | Update the current search agent position by equation (7) | End for | Evaluate the fitness | Update the coefficient vector , and | If any better solution then update the best agents , , | | End while | Stop the process and visualize the first best agent found so far |
|