Research Article
[Retracted] Large-Area Saline-Alkali-Tolerant Rice Growth Environment Monitoring System Based on LoRa+UAV
Algorithm 1
Algorithm of UAV traversal.
| Input: R, r, monitoring area LL, divided into small areas ll, determine the values of NN, , m, a n | | Output: UAV traversal moves the set of nodes Larr sequentially | (1) | Create the empty set Larr | (2) | If([i/2] = 1) | (3) | For(j = 1,jk,j + 1) | (4) | (m, n)→Larr[] puts the current mobile node into the set Larr | (5) | end | (6) | If([i/2] = 0) | (7) | For(j = k,j1,j-1) | (8) | (m, n)→Larr[] puts the current mobile node into the set Larr | (9) | end | (10) | i + 1 | (11) | if(i > k) | (12) | Break | (13) | Repeat (2)∼(12) | (14) | Output Larr |
|