搜索资源列表
N-Queens
- 此N皇后问题更具通用性,虽然在N=16时运行时间过长,但是还是有意义的。
AN EXPERIMENTAL TABU SEARCH CODE FOR THE N-QUEENS PROBLEM
- AN EXPERIMENTAL TABU SEARCH CODE FOR THE N-QUEENS PROBLEM
AN EXPERIMENTAL TABU SEARCH CODE FOR THE N-QUEENS PROBLEM
- * TSQUEEN.C : <n> number of queens * * <tabu_size> size of the tabu list * * <max_iter> maximum number of iterations * *
nqueens(localSearch)
- n皇后问题,采用局部搜索算法,普通搜索效率,内含代码。-n queens problem, using a local search algorithm, general search efficiency, containing the code.
Queen
- 求解n皇后问题的MATLAB源程序。此程序只需输入皇后个数,即可得到所有的解。-N queens problem solving MATLAB source code. Just enter the number of this program at Queen' s, you can get all of the solution.
nq
- 求N皇后问题回溯算法--Asks the N queens question recollection algorithm
n-queens-mm
- c实现n皇后m棋盘, c实现n皇后m棋盘, -c realization of n
NQueenProblem
- 这是一个自己实现的N皇后问题c++解法,请各位指教-This is an own implementation of the N Queens problem c++ solution
Fastn-Queens
- 快速 n—皇后 问题解决算法,是本人见过的代码中最快的,利用位操作-Fast n-Queens problem-solving algorithm
n-queens
- 使用vc++实现数据结构中的n皇后问题的实现,使用递归算法完成此项操作基本比较简单-Using vc++ data structure, the realization of n-queens problem, using the basic recursive algorithm is relatively simple to complete this operation
n-queens-graphical
- n-queens graphical,是算法分析与设计里N皇后的c+=代码,程序将问题进行了图形化-n-queens graphical
N-Queens
- pascal语言使用迭代法求解N皇后问题的源码-pascal language use iteration method to solve N-Queens problem code
N-Queens-Algorithm
- N皇后问题算法,N皇后问题是关于国际象棋的一个著名问题,本算法给出了其中一种解法-N Queens Algorithm
N-Queens-problem
- N皇后问题回溯算法,算法质量高,参加ACM的同学,喜欢C算法的同学可以研究一下-N-Queens problem backtracking algorithm, the algorithm of high quality, to participate in the ACM students, students like C algorithm can be studied
N-queens
- N皇后问题的所有解输出,代码简单易懂,且短小快速-N-queens problem all solutions of output, the code is easy to understand, and the short and fast
N-queens-problem
- 利用c语言实现的高效N皇后问题,并输出计算时间。-Use c language to achieve efficient N queens problem, and outputs the computation time
N-queens-problem
- 八皇后问题是一个古老而著名的问题,是回溯算法的经典问题。该问题是十九世纪著名的数学家高斯在1850年提出的:在8*8的国际象棋棋盘上,安放8个皇后,要求没有一个皇后能够“吃掉”任何其它一个皇后,即任意两个皇后不能处于同一行,同一列或者同一条对角线上,求解有多少种摆法。 高斯认为有76种方案。1854年在柏林的象棋杂志上不同的作者发表了40种不同的解,后来有人用图论的方法得到结论,有92中摆法。 本实验拓展了N皇后问题,即皇后个数由用户输入。 -Eight queens problem
N-Queens
- 优化的N皇后算法,输入皇后的个数N,输出三个解,算法的时间复杂度为O(nlgn)-Optimized N queens algorithm, enter the number of the Queen N, output three solutions, the time complexity of the algorithm is O (nlgn)
N-Queens
- 使用回溯法求N皇后问题,是又经典的8皇后问题延伸而来-Seeking N Queens backtracking law, it is another classic 8-queens problem extends from
N-queens-algorithm
- n皇后问题的BFS算法,算法简洁,作为初学者一看就懂,不过先看会BFS算法很重要,这比普通的动态规划速度要快很多-N queens problem BFS algorithm, the algorithm is simple, as a beginner to understand, but first look at the BFS algorithm is very important, which is much faster than the general dynamic planni