Presenting an algorithm for solving N queens’ problem

سال انتشار: 1401
نوع سند: مقاله کنفرانسی
زبان: انگلیسی
مشاهده: 296

فایل این مقاله در 12 صفحه با فرمت PDF قابل دریافت می باشد

استخراج به نرم افزارهای پژوهشی:

لینک ثابت به این مقاله:

شناسه ملی سند علمی:

IPQCONF08_006

تاریخ نمایه سازی: 3 آذر 1401

چکیده مقاله:

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

نویسندگان

Seyed Mahdi Javadi

Ferdowsi University of Mashhad, Iran