Research Article
Workflow Scheduling Using Hybrid GA-PSO Algorithm in Cloud Computing
Algorithm 5
Update the velocity matrix.
Input: velocity values | Output: updated velocity values | Set ; ; ; ; // is the index of the particles individuals | While not reach max particles.length do | If Particle == | velocity −= ; // are random numbers | Else | velocity += ; // are acceleration coefficient | End If | If Particle == | velocity −= ; | Else | velocity + ; | End If | +1; | Repeat //until the last particle |
|