27 Jan 2005
CS 3243 - Heuristics
40
Genetic algorithms
n
n
n
n
n
nFitness function: number of non-attacking pairs of queens (min = 0, max = 8 × 7/2 = 28)
n24/(24+23+20+11) = 31%
n23/(24+23+20+11) = 29% etc.