Research Article

An Adaptive Fish Swarm-Based Mobile Coverage in WSNs

Pseudocode 1

The pseudo-code-steps for distributed node (PCS for DN) .
Step 1: Foraging and to update .
Step 2: if  , Clustering and to update  .
Step 3: if  ,  Repulsing and to update  .
Step 4: if, Jumping and to update  .
Step 5:  Dodging and to update  .