Discussion
Which type of crossover is performed in the following genetic algorithm problem ?
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
|---|---|---|---|---|---|---|---|---|
| Parent A | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 |
| Parent B | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 |
| Child A | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 |
| Child B | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 |

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.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development