Research Article
pMATE: A Privacy-Preserving Map Retrieval Task Assignment Scheme in Spatial Crowdsourcing
| Input: 𝕄’; | | Output: int x[]; //an array of the nearest TWs’ numbers | | Initialize int k, p, i ← n − 1, j ← n; //n = | | While do | | p ← | | if p = −1 // | | j ← i, i ← i − 1; | | else // | | i ← i − 1; | | p ← | | if p = 1 //return j, set j max | | x[] = FE (j); | | return x[]; | | else //return 1, set 1 max | | x[] = FE (1); | | return x[]; |
|