Research Article

Combinatorial Optimization-Based Clustering Algorithm for Wireless Sensor Networks

Algorithm 1

COCA process.
CH Cluster head
PB Personal best value
GB Global best value
FFV Fitness function value
Initialize WSN and BPSO parameters
Initialize every particle’s position and velocity vector
Set PB and GB to infinity
for each (particle)
 Clustering
end for
while iteration number < Max number
 for each (particle)
  Update position vector
  Update velocity vector
  Clustering
 end for
end while
The last result is the clustering scheme corresponding to GB