Research Article
Edge Computing-Enabled Wireless Sensor Networks for Multiple Data Collection Tasks in Smart Agriculture
Algorithm 1
Pseudocode of double selecting for QoD.
Initialization: Input V, S, TA, W, , X | Output: | begin | for | for | //selecting WSN node by location | if | | else | Break; | Create the sensor weight matrix W. | if //selecting WSN node by valid sensor. | | for | for to N | Compute | Compute | | if //selecting WSN node by task deadline | | else | Break; | |
|