Wireless Communications and Mobile Computing / 2017 / Article / Alg 3

Research Article

Crowdsensing Task Assignment Based on Particle Swarm Optimization in Cognitive Radio Networks

Algorithm 3

Procedure of optimizing the sensing task assignment of the particle.
for each particle
  for each mobile user
   if its remaining energy satisfies formula (3)
    Maintain the matrix;
    else set the corresponding row vector to zero;
   end if
  end for
  Then the current matrix T 1 is derived;
   Evaluate the crowdsensing effect function of this particle;
  Obtainthis particle’s P id (matrix T 2) based on crowdsensing effect function;
  Obtain (matrix T 3) with the optimal ;
  Merge matrix T 1, T 2, T 3;
  Optimize the column vectors of the merging matrix;
  Optimize row vectors of the merging matrix with specific probability using (9);
  Evaluate the crowdsensing effect function of merging matrix according to (6);
end for

We are committed to sharing findings related to COVID-19 as quickly and safely as possible. Any author submitting a COVID-19 paper should notify us at help@hindawi.com to ensure their research is fast-tracked and made available on a preprint server as soon as possible. We will be providing unlimited waivers of publication charges for accepted articles related to COVID-19. Sign up here as a reviewer to help fast-track new submissions.