Research Article
TDAL: Thoroughly Data Aggregation of Low Energy Devices in Secure Heterogeneous Wireless Sensor Networks
Algorithm 1
-player game algorithm for node energy efficiency with
.
Input: Create a network Ω and define a source node , of any type | Output: The energy consumption | (1) Create a network of nodes = ; | (2) Choose the source node ∈ Ω as ; then Start a loop; | (3) Select the destination node ∈ Ω ; | (4) If the type and are heterogeneous (, then perform the | -players heterogeneous game with and | (5) If the type and are homogeneous ,), then perform the two | player’s homogeneous game with ; | (6) Make sure that rules 1 and rule 2 are verified as defined in Section 2.4.1; | (7) End the loop; | (8) Compute the energy consumption of the given node | (9) Repeat Step (9) of game for next pair of sensors until reaching final destination, | (10) If no value changed in this iteration, | (11) Return | (12) End Algorithm |
|