Q65.Marks: +2.0UGC NET Paper 2: Computer Science 18th June 2024 Shift 1 (Cancelled)
In Genetic Algorithm's cross over operation, mask is used in ?
1.Three parent crossover
2.Two parent crossover
3.Uniform crossover✓ Correct
4.N point crossover
Solution
The correct answer is Uniform crossover.
Key Points
Uniform crossover is a genetic algorithm crossover operation where a mask is used to determine which parent will contribute each gene to the offspring.
In this crossover method, a binary mask of the same length as the parents' chromosomes is generated, where each bit in the mask decides the parent from which the gene will be taken.
If the bit is 1, the gene is taken from the first parent; if the bit is 0, the gene is taken from the second parent.
Additional Information
Two parent crossover and N point crossover are other types of crossover methods but do not typically use a mask. Instead, they use specific points on the chromosome to decide where to split and exchange segments between parents.
Three parent crossover involves three parents but typically uses a different approach, such as selecting the median value of the genes from three parents.