Presenting an algorithm for solving N queens’ problem
عنوان مقاله: Presenting an algorithm for solving N queens’ problem
شناسه ملی مقاله: IPQCONF08_006
منتشر شده در هشتمین کنفرانس بین المللی مهندسی صنایع، بهره وری و کیفیت در سال 1401
شناسه ملی مقاله: IPQCONF08_006
منتشر شده در هشتمین کنفرانس بین المللی مهندسی صنایع، بهره وری و کیفیت در سال 1401
مشخصات نویسندگان مقاله:
Seyed Mahdi Javadi - Ferdowsi University of Mashhad, Iran
Ameneh Mehrjerd
خلاصه مقاله:
Seyed Mahdi Javadi - Ferdowsi University of Mashhad, Iran
Ameneh Mehrjerd
The N queens’ problem is one of the most popular combinational topics to determine number of states that nonattacking N queens should be placed on the N × N chessboard. In this paper we presented an algorithm by combination of using backtracking algorithm and stack data structure. Then the algorithm was programmed by Microsoft Visual Studio ۲۰۰۸. In closing, the outputs of our algorithm include number of states and locations of queens in chessboard were described
کلمات کلیدی: N queens’ problem; Backtracking algorithm; Stack data structure; Programming; Run time
صفحه اختصاصی مقاله و دریافت فایل کامل: https://civilica.com/doc/1558640/