|
Algorithm 1. Minimum Energy Consumption Chain Based Algorithm (ME-CBCCP) |
|
Input
|
|
|
|
Output
|
|
Enhanced network lifetime
|
|
1: Deploy nodes randomly in the fixed area
|
|
2: Apply subarea division algorithm to form the clusters () with fixed boundaries, allocate the cluster IDs to each layer of the cluster
. That is for
Select the closest within cluster .
|
3: for each , repeat
3.1 Elect one in each cluster randomly where . Elect in each cluster where and and value of and. Number of C in each cluster = .
3.2 for , and do
3.3 compute the distance between and
3.4 if then
3.5 add the node and to the set of in local cluster, set
End if
End for
|
|
End for
|
4: for each , repeat
4.1 transmit the data from nodes () to nodes (),
4.2 transmit data in order from nodes
|
|
End for
|
|
5: for each , repeat
|
|
Continue with step 4.
|
|
|
End for
|