Skip to content

enaraemre/8-Queens-Problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • 8 Queens Puzzle in C#

Write a program that uses the genetic algorithm to solve 8 queens problem.

Implement:

8-digit, integer-value genome,

the fitness function of the form:

*f(configuration) = 28􀀀number_of_attacks(configuration);

-the genetic operators

} roulette wheel selection,

} two-site crossover,

} mutation

Experiment with the size of population and the probability of mutation (roughly speaking that probability should be low).

In order to have working application genomes amount should be even number.

/More explenation on pdf