Research Article

Workflow Scheduling Using Hybrid GA-PSO Algorithm in Cloud Computing

Algorithm 1

The tournament selection method.
Input: the chromosomes
Output: fitnesschromosome
Set the tournamentSize =
For to tournamentSize
  id = Math.random chromosome.size // select chromosome randomly
  tournament = get_chromosome (id)
End For
fitness tournament.getFitnest //return the fitness value in tournament group.