Research Article

Multihopping Multilevel Clustering Heterogeneity-Sensitive Optimized Routing Protocol for Wireless Sensor Networks

Algorithm 1

Cluster-Heads selection by HCA.
Initialization;
Nodes define their type after random distribution and
compare their , coordinates with defined boundary by
radius of BS
Set of CHs denoted by which is empty at initialization;
while  Selection of NDL  do
if  nodes in distributed region  then
for  Calculate probability and threshold value
  do
;
if  threshold is greater than random number
then
tag is as a CH;
set = +1;
else
member node;
end
end
else
end
if  Nodes are in centralized region  then
for  Calculate ECR  do
;
if  Set of CHs are selected with most suitable
value  then
tag is as a CHs;
set = +1;
else
member node;
end
end
else
end
end