Research Article

Service Composition Optimization Method Based on Parallel Particle Swarm Algorithm on Spark

Algorithm 2

SPSO.
Input: , , , ,
Output:
Initiate particle swarm and compute fitness
For    do
   Update position and speed
(5)   Compute fitness
(6)   Update history information
(7)   If ()
(8)       Elite selection strategy
(9)   End if
(10) End for
(11)
(12) Generate the best particle