Information

N Queen problem is a classic constraint satisfaction problem based on chess game.
The idea is how to put N numbers of Queen in N x N chessboard without giving them any chance to kill each other in one turn.

Location : HomeArticles

Article Number 2000/VI/ALG/0002
Author Daniel Handoko, S.Kom
Date Published June 27th, 2000
Language English / Indonesian
Programming C++


N Queen Problem (2)

This article was published by legal permission from the author. There are so many algorythms for this N Queen problem. Below, you can find a new kind of code that presents the calculation result in graphic mode, displaying the table of required time for solving an N Queen problem.


No details are provided by the author for helping you to understand this code. For copyright reasons, I can't made the details for you. But, just take a look, nothing's complicated there. You will learn from the code in about ten or twenty minutes only. Have a better solution to improve the performance ?
Any comments, questions, or suggestions can be sent to robertsetiadi@gmail.com.


Related links :
N Queen Problem (1) by Robert Setiadi

http://www.robertsetiadi.net/articles/nqueen02.htm


| More