Solution to n-Queens Problem: Heuristic Approach

Authors

  • Edgar Osaghae Federal University Lokoja, Nigeria

DOI:

https://doi.org/10.14738/tmlai.92.9849

Abstract

Finding non-backtracking solutions to n-queens problems, has been very challenging. Several researchers have attempting to find non-backtracking solutions to n-queens problem, although, some of them recorded huge successes in their researches, but none of them have attempting using the implications of even and odd n-queens, to find solutions to the n-queens problem. In this paper, an attempt was made to extract patterns created from even-numbered n-queens and odd-numbered n-queens placements on the chessboard. The research started from experimenting the placements of  non-attacking queens for 4-queens, 16-queens, 32-queens and n-queens. After the experimenting with the placements of different number of queens on the chessboard, it was revealed that even-numbered and odd-numbered queens, have pattern of placement of queens. The results of this research work show how to start and finish placements of queens on the chessboard, depending on whether the n number of queens are either even or odd, using heuristic approach.     

Downloads

Published

2021-04-04

How to Cite

Osaghae, E. (2021). Solution to n-Queens Problem: Heuristic Approach. Transactions on Machine Learning and Artificial Intelligence, 9(2), 26–35. https://doi.org/10.14738/tmlai.92.9849