Journal of Optimization / 2017 / Article / Alg 2

Research Article

A Novel Distributed Quantum-Behaved Particle Swarm Optimization

Algorithm 2

function mapper (key, value)
initialize the positions of all particles
evaluate the function values of positions then select thebest andbest
// update the particle
while the termination condition is not met
    calculate thebest and
    for each particle
      update thebest andbest
      for each dimension
        update position
    calculation + 1
emit a message (ID of best, string of best and fitness)

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.