Back to Search
Start Over
REDUCING THE TIME COMPLEXITY OF THE N-QUEENS PROBLEM
- Source :
- International Journal on Artificial Intelligence Tools. 14:545-557
- Publication Year :
- 2005
- Publisher :
- World Scientific Pub Co Pte Lt, 2005.
-
Abstract
- This paper presents a fast algorithm for solving the n-queens problem. The basic idea of this algorithm is to use pre-computed solutions in 75% of the cases, while the remaining cases are solved by calling the Sosic's algorithm. The novelty of this algorithm is in the observation that these pre-computable cases exhibit a modular nature. In addition, the pre-computed solutions run 100 times faster than Sosic's algorithm in most cases.
Details
- ISSN :
- 17936349 and 02182130
- Volume :
- 14
- Database :
- OpenAIRE
- Journal :
- International Journal on Artificial Intelligence Tools
- Accession number :
- edsair.doi...........04196e4270023078708bc677b421bc39
- Full Text :
- https://doi.org/10.1142/s0218213005002247