Unformatted text preview: 1 1 0 0 0 1 0 1 How many different offspring can be generated if one point crossover is performed? List all of them. Q5. Design a programming procedure (in pseudocode or MATLAB or C languages) to select a parent using the roulette wheel selection method. The following variables are ready to use in your procedure, and the syntax is assumed to be correct (no matter which language you use): Chrom[1:N] – contains N chromosomes. FitV[1:N] – contains the fitness values of the N chromosomes P – contains the index of the selected parent For example: Chrom[2] represents the 2 nd chromosome; FitV[4] represents the fitness value of the 4 th chromosome. If p=2, it implies the 2 nd chromosome is chosen as parent....
View
Full Document
 Spring '09
 KITSANGTSANG
 roulette wheel selection

Click to edit the document details