Research Article
Task Grid-Based Urban Environmental Information Release Mechanism for Mobile Crowd Sensing
Algorithm 1
Algorithm for removing low-quality data in task grid.
| Sort the elements of each vector in the matrix from largest to smallest to obtain a matrix | | Input: the matrix | | Output: the resulting matrix is | (1) | For vector | (2) | Begin | (3) | For the vector | (4) | | (5) | For (, , ) | (6) | If | (7) | save | (8) | else | (9) | | (10) | End if | (11) | End for | (12) | End begin |
|