Based on assignment 1 and 2, you will implement a simple genetic algorithm with fitness-proportionate selection (roulette-wheel sampling), population size 20 and single and two point crossover rate pc = 0.7. Perform 50 runs, and measure the average generation at which the chromosome of all not duplicate is discovered.
INSTRUCTION
Based on assignment 1 and 2, you will implement a simple genetic algorithm with fitness-proportionate selection (roulette-wheel sampling), population size 20 and single and two point crossover rate pc = 0.7. Perform 50 runs, and measure the average generation at which the chromosome of all not duplicate is discovered.
SUBMISSION