Skip to content

mohamad-hasan-sohan-ajini/N-Queen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

################################
##########in his name###########
################################
operators.py
this module contains some premitive operators manipulating chromosomes.
these operators defined according to the related N-Queen slides.

GA.py
it contains a genetic algorithm class that is able to solve problem 
by means of operators and its methods.

test.py
it creates a GA instance and solve N-Queen problem by calling a method of GA.

notices:
1- all operators are defined as described in N-Queen slides.
2- main parameters including queen numbers (i.e. board size), population 
size and maximum calculation of evaluation function will be easily manipulated
by passing a simple value to __init__ and solver methods.

About

genetic algorithm for n-queen problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages