Research Article
Taylor-Spotted Cat Optimization (Taylor-SCO): An Energy-Efficient Cluster Head Selection Algorithm with Improved Trust Factor for Data Routing in WSN
Algorithm 1
Pseudocode of developed Taylor-SCO technique.
(1) | Input: | (2) | Output: | (3) | Start | (4) | Initialize a parameters, , , , and | (5) | Estimate the fitness function | (6) | Group every far optimal solution | (7) | while do | (8) | for every search agent do | (9) | Change the location of the search agent using equation (19) | (10) | end for | (11) | Verify whether any search agent moves away from the search space | (12) | Group update | (13) | | (14) | end while | (15) | return the best solution | (16) | Stop |
|