Genetic algorithms
n
Fitness function: number of non-attacking pairs of queens
(min = 0, max = 8
×
7/2 = 28)
n
24/(24+23+20+11) = 31%
n
23/(24+23+20+11) = 29% etc