Journal of Computer Networks and Communications / 2017 / Article / Alg 1

Research Article

Energy Efficient Secure Trust Based Clustering Algorithm for Mobile Wireless Sensor Network

Algorithm 1

The proposed CH selection algorithm.
Output: CH is Selected with CH-ID;
Data: Input: Node-id, Weight
Result: CH Selection
Step     Deploy all the nodes;
Step    for    do
if    &&    then
Compute Behavior Level (Bl) // given by (6);
if ()
Declare as Malicious node and not allow then to
take part in CH selection
Compute Waiting Time // given by (7);
Compute Degree of Connectivity // given by (8);
Compute Relative Mobility // given by (9)
Step   Compute Weight for current round // given (10);
Step    for    do
If ( ) // if weight of th node is greater
// node th not be a CH
Step    if    then
broadcast an advertisement message
//non-CH node join into the closest CH;

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.