Research Article
Stochastic Bat Optimization Model for Secured WSN with Energy-Aware Quantized Indexive Clustering
Algorithm 2
Combinatorial stochastic sampled Prevosti’s bat optimization algorithm.
Input: Data packets , source node , cluster heads , a base station () | Output: Optimal route discovery | Begin | 1. Initialize the population of Bats cluster heads | 2. for each | 3. Measure the multi-objective functions , , | 4. Calculate the fitness ‘’ | 5. Select current best ‘n’ individuals using () () () | 6. If () then | 7. Update the position of and velocity | 8. End if | 9. If (Max_ iteration) then | 10. Obtain the global best route path | 11. else | 12. Go to step 4 | 13. End if | 14. End for | 15. A source node () sends data packets to via optimal route path | 16. If any link fails then | 17. Select another optimal route and send data packets | 18. End if | 19. End | End |
|