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

Research Article

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

Algorithm 1

Overall procedure of proposed PSO-CTA.
  Input:
Objective function according to formula (6);
A local constraint ;
The number of mobile users ;
The number of locations ;
The number of channels in location ;
The number of sub-locations in location ;
The maximum cost ;
The maximal generation ;
  Output: The maximum sensing effect function and sensing task assignment
  Initialization:
  Randomly generate each particle;
  Optimization:
  () repeat
  () for each particle
  ()  Optimizing the crowdsensing task assignment of the particle;
  ()  Update the ;
  ()  Update the ;
  () end for
  () until stopping criterion is satisfied

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.