Research Article

A Novel Task Allocation Algorithm in Mobile Crowdsensing with Spatial Privacy Preservation

Algorithm 3

Allocation mergence.
Input: subregions , participants , workloads , each community profile
, each actual profile
Output: the allocation for each
1:update each by ;
2:for each   do
3:for each that   do
4:if   and covers   then
5:;
6:compute by ;
7:if    then
8:, ;
9:each , ;
10:for each that   do
11:if    then fails;