Skip to content
ml-recall

#permutation-encoding

3 questions from Genetic Algorithms

Timed test

3 questions · 3 min · score and explanations at the end

Take a test
Q 1 / 3Score 0 / 0

Question 1: Single choice

mediumAI-checkedGenetic Algorithms

A genetic algorithm for an 8-city TSP stores each tour as the list of cities in visiting order (path representation). Single-point crossover after position 5 is applied to the parents P1=(2,7,8,4,6,3,1,5)P_1 = (2, 7, 8, 4, 6, 3, 1, 5) and P2=(1,4,7,8,6,2,3,5)P_2 = (1, 4, 7, 8, 6, 2, 3, 5): each child takes the first five genes of one parent and the last three of the other. What do you get?

Choose one option