Solutionof n-Queen Problem by Genetic Algorithm
n-QueenProblem: Given a nxn chessboard,place n queens in such a way that no one attack is attacked by others.That is, no two queens will be in the same row, column or diagonal. For 4-Queenproblem the solution is
| Q | | |
| | | Q |
Q | | | |
| | Q | |
Programmed by
Paul Topon Kumar
Department of FrontierInformatics
Graduate School of FrontierSciences
The University of Tokyo
Japan
Email: topon@ibalab
Copyright©2002.All rights reserved by the programmer.