필터 지우기
필터 지우기

Help in making a gui for N-Queens problem

조회 수: 1 (최근 30일)
Saket Dandawate
Saket Dandawate 2012년 6월 23일
I have a project in which I am supposed to solve the n-queens problem
From Wikipedia :
The eight queens puzzle is the problem of placing eight chess queens on an 8×8 chessboard so that no two queens attack each other. Thus, a solution requires that no two queens share the same row, column, or diagonal. The eight queens puzzle is an example of the more general n-queens problem of placing n queens on an n×n chessboard, where solutions exist for all natural numbers n with the exception of 2 and 3.
And the layout
Next and previous help showing various solutions stored in 'out' in the form
1 2 3 4 5 6 7 8
2 3 4 5 6 7 8 1
......................
Want to display solutions obtained in the empty panel
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 6월 23일
http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by