搜索资源列表
8皇后问题的所有解
- 8皇后问题的所有解,可以把它给成N皇后的问题
面向对象n皇后
- 思路清晰的n皇后问题求解,采用面向对象思路编写,封装类可在其他程序中灵活调用-lucid n Queen's problem solving, object-oriented ideas to prepare, Packaging category in other proceedings flexible call
C语言实现的皇后问题
- n皇后问题,可以显示所有的合适路径,典型的回溯算法-n Queen's, will show you all the appropriate path, the typical backtracking algorithm
n后问题
- 在 n 行 n 列的国际象棋棋盘上,最多可布n个皇后。 若两个皇后位于同一行、同一列、同一对角线上,则称为它们为互相攻击。 n皇后问题是指找到这 n 个皇后的互不攻击的布局。 n 行 n 列的棋盘上,主次对角线各有2n-1条。-n n trip out of the international chess board, the maximum n Queen's cloth. If two at the same Queen's visit, the same s
N皇后问题回溯算法
- 皇后问题的拓展 经典算法-Queen expand the classical algorithm
回溯法N皇后问题
- 这是计算机算法中的回溯法中的一个经典的问题--N皇后问题!希望对学计算机算法的同学有用!-This is a computer algorithm, the retroactive law on the issue of a classic -- N Queen! Want to learn how to use computer algorithms useful to the students!
QUEues皇后问题
- 此程序完成N皇后问题。大家可以互相讨论学习。-N Queen's problem. We can learn from each other discussions.
一个局部搜索NQueen的O(n2)算法
- 求N皇后问题的一个解: 算法 :QS1
Nqueen
- N皇后问题的回溯算法,非常简单,容易看懂-N Queen s problem back algorithm, is very simple, easy to understand
queue
- n皇后问题的C++求解方法,就是n个皇后不能同行也不能同列。-n queen problem C++ solving method, that is, n can not be a Queen s peers can not be with out.
queen
- N皇后问题,N皇后放置过程的现实。 由八皇后问题扩展开来,在N*N的棋盘上摆放N个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上。求可能的解决方案,并显示每一种解决方案的皇后放置过程。-N Queen' s problem, N Queen placed the reality of the process. Expansion by opening eight to question Queen' s, at the N* N chessboard
queen
- N皇后问题 输入N 可以得到问题的解-N QUEEN
NQueenProblem
- n皇后问题,关于如何计算n皇后问题,里面的代码容易看懂,核心的是在针对试探-回溯算法所用的数据结构的设计上。 程序采用了递归,也就是借用了编译系统提供的自动回溯功能。-N Queen Problem
Fastn-Queens
- 快速 n—皇后 问题解决算法,是本人见过的代码中最快的,利用位操作-Fast n-Queens problem-solving algorithm
NQueen
- N皇后问题的爬山法 效果比普通方法好一些-N queens problem of hill-climbing method is better than the average effect of
nwanghou
- 算法分析,N皇后问题,这是上交的作业,准确无误!-Algorithm analysis, N queens problem
爬山 完美
- 使用爬山法实现n皇后问题 输入 n,并用运行时间比较几种算法在相同规模的问题时的求解效率。列表给出结果。 比较同一算法在 n 不相同时的运行时间,分析算法的时间复杂性。(Use of climbing method to achieve the N Queens)
N皇后
- 八皇后问题,是一个古老而著名的问题,是回溯算法的典型案例。该问题是国际西洋棋棋手马克斯·贝瑟尔于1848年提出:在8×8格的国际象棋上摆放八个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。(The eight queen problem, an old and famous problem, is a typical case of backtracking algorithms. It is put forward the internationa
NQueens.m
- N皇后问题 用Matlab解决 N皇后问题 用Matlab解决(NQteens use Matlab)
Nqueen
- 在8*8的国际象棋棋盘上,安放8个皇后,要求没有一个皇后能够“吃掉”任何其它一个皇后,即任意两个皇后不能处于同一行,同一列或者同一条对角线上,求解有多少种摆法。 本实验拓展了N皇后问题,即皇后个数由用户输入(On the chess board of 8*8, 8 queens are placed, requiring that no queen can eat any other queen, that is, any two Queens can not be in the same r