Research Article

Human Behavior-Based Particle Swarm Optimization

Algorithm 1

HPSO.
Initialize Parameters:
population size;
the dimensionality of search space;
the number of maximum iteration;
the inertial weight;
the allowable position boundaries, ;
the allowable velocity boundaries, ;
Initialize Population:   , ,  ;
;
;
Initialize   , and   :
 Evaluate fitness of all particles in ;
;
;
;
For  
For each particle
  Update velocity according to (5) and check the boundaries;
  Update position according to (3) and check the boundaries;
Endfor
Evaluate fitness of all particles in   ;
Update   , and   ;
Endfor.
Return the best solution.