Research Article

Workflow Scheduling Using Hybrid GA-PSO Algorithm in Cloud Computing

Algorithm 4

Evolve and values.
Input: particles
Output:  and vlues
Set = null; = null; =0;     // is the index of the particles.
  While not Reach max particles.size do
   If == null    [].getFitness() > particles[].getFitness()
     [] =particles[];
   End If
   If == null     [].getFitness() < .getFitness()
     = particle[]);
    ;
   End If
  Repeat  // until the last particle