Research Article

A Heuristic Algorithm of Cooperative Agents Communication for Enhanced GAF Routing Protocol in WSNs

Algorithm 1

Active nodes selection.

1: Import Data.
2: Initialize the constants , , and .
3: fordo
4: Initialize the list of the node of important Data .
5: Initialize
6: fordo
7: Compute
8: ifthen
9:
10:
11: end if
12: fordo
13: ifthen
14:
15:
16:
17: end if
18: end for
19: end for
20:
21: end for