Research Article

Multi-Working Modes Product-Color Planning Based on Evolutionary Algorithms and Swarm Intelligence

Algorithm 1

Pseudocode of the GA algorithm
Set t:= 0;
INITIALIZE. Randomize an initial population P(t);
WHILE (the termination conditions are not met)
Select  P(t+1) from P(t) using roulette wheel selection;
Crossover  P(t+1) using intermediate recombination;
Mutate  P(t+1);
 Set t:=t+1;
END WHILE