搜索资源列表
C语言实现的皇后问题
- n皇后问题,可以显示所有的合适路径,典型的回溯算法-n Queen's, will show you all the appropriate path, the typical backtracking algorithm
N-Queens
- 此N皇后问题更具通用性,虽然在N=16时运行时间过长,但是还是有意义的。
回溯法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!
nqueens(localSearch)
- n皇后问题,采用局部搜索算法,普通搜索效率,内含代码。-n queens problem, using a local search algorithm, general search efficiency, containing the code.
Nqueen
- N皇后问题的回溯算法,非常简单,容易看懂-N Queen s problem back algorithm, is very simple, easy to understand
N-queen_linear_time
- N-皇后问题线性时间算法 O(n)复杂度,非O(n^2)的,使用的是构造法。-N-Queen problem of linear time algorithm
n-queen
- n皇后问题,迷宫问题,递归实现皇后寻找迷宫出路,经典算法之一-n queen problem, the maze problem, the recursive realization of the maze to find a way out of Queen' s, one of the classic algorithm
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
NQueen
- n皇后问题可以表示成n-元组(x1,…,xn),其中xi是放在第i行的皇后所在的列号。于是,解空间由nn个n-元组组成。 显示约束条件为Si={1,2,…….,n},1 i n。 隐式约束条件之一为没有两个xi相同(即任意两个皇后不在同一列上)。将其加入到显式条件中,于是解空间的大小由nn个元组减少到n!个元组。 -n queens problem can be expressed as n-tuple (x1, ..., xn), where xi i
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
nqueens(MinimalConficts)
- N皇后问题,采用最小冲突算法,极快的搜索效率,内含代码。-N queens problem, using the minimum conflicts algorithm, fast search efficiency, containing the code.
n-q
- 八皇后,n皇后问题C语言实现,求解所有可行解 -Eight Queens, n queens problem C language, all the feasible solutions for solving
N-queen-problem
- n皇后问题 n皇后问题 n皇后问题-n queens n queens n queens n queens n queens problem
N-queen
- 用c++语言提供了N皇后问题的算法描述,大家可以参考。-C++ language with the N-queens algorithm descr iption, we can reference.
n皇后问题
- n皇后问题 课程设计上的一个小作业 水平有限(n-queen problem A small assignment in the curriculum design is limited)
爬山 完美
- 使用爬山法实现n皇后问题 输入 n,并用运行时间比较几种算法在相同规模的问题时的求解效率。列表给出结果。 比较同一算法在 n 不相同时的运行时间,分析算法的时间复杂性。(Use of climbing method to achieve the N Queens)
NQueens.m
- N皇后问题 用Matlab解决 N皇后问题 用Matlab解决(NQteens use Matlab)