Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which type of crossover is performed in the following genetic algorithm problem ?

12345678
Parent A10110011
Parent B00011010
Child A10011010
Child B00110011

Eight-bit parents A and B shown before crossover and children A and B after crossover, with Interchange marked under bit positions 3, 5 and 8

  • A.Matrix crossover
  • B.Multipoint even site crossover
  • C.Uniform crossover
  • D.Single site crossover

Answer: C

This is uniform crossover.

Compare the children with the parents bit by bit. Child A equals Parent A except at positions 3, 5 and 8, where it has Parent B's bits, and Child B is the mirror image. The exchanged positions are isolated and scattered, not one or more continuous segments, which is the mark of uniform crossover: each bit position is independently chosen for exchange, typically by a random mask.

Single site crossover cuts both strings at one point and swaps everything after it. Multipoint crossover swaps continuous segments between several cut points. Neither naturally produces swaps at positions 3, 5 and 8 alone.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.