Research Article

Multiobjective Real-Time Scheduling of Tasks in Cloud Manufacturing with Genetic Algorithm

Algorithm 2

Procedure of uniform crossover.
Input: parent chromosomes and
Procedure:
     Step 1. Initialize as 1.
     Step 2. Initialize as 1.
     Step 3. Randomly select an element from , and let be the chosen and be the other one.
     Step 4. and .
     Step 5. If , , , and , then exchange and with a probability , where and . Otherwise, do nothing.
     Step 6. If and , terminate. If and , increase by 1 and go to Step 2. If , increase by 1 and go to Step 3.
Output: children chromosomes and .