Research Article
Layer-Based Data Aggregation and Performance Analysis in Wireless Sensor Networks
Algorithm 1
Layer independent set construction.
Input: Graph , , , …, , layer number ; | Output: Maximum Independent set , , and . | (1) ; | (2) for each node ; | (3) if , then | (4) ; | (5) else ; ; | (6) end if | (7) end for |
|