搜索资源列表
C语言实现的皇后问题
- n皇后问题,可以显示所有的合适路径,典型的回溯算法-n Queen's, will show you all the appropriate path, the typical backtracking algorithm
nq
- 求N皇后问题回溯算法--Asks the N queens question recollection algorithm
shangchuan
- n皇后算法,多边形裁减,正方体旋转,三角形的绘制与填充,画虚的直线和曲线-n Queen s algorithm, polygon reduction, cube spins, drawing a triangle with the filling, painting imaginary straight lines and curves
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
1
- N皇后问题的回溯算法 N皇后问题的回溯算法 -N Queen' s problem backward algorithm N Queen' s problem backward algorithm
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
nqueens(MinimalConficts)
- N皇后问题,采用最小冲突算法,极快的搜索效率,内含代码。-N queens problem, using the minimum conflicts algorithm, fast search efficiency, containing the code.
nQueens
- 人工智能课程实验:使用启发式搜索求解皇后问题。启发式搜索是利用度量作为指南的一种搜索方法。皇后问题是计算机界的经典问题,n皇后问题为把n个皇后放入一个n*n的棋盘中,使皇后两两不在同一行,同一列以及同一斜线中。求解n皇后问题的算法众多,主要有回溯法,构造法,概率算法以及本实验所用的启发式搜索方法等。方法不同,求解问题所产生的时间效率也大不相同,本实验主要对比构造法与启发式搜索方法的效率。 -Artificial Intelligence Curriculum Experiment: Usin
n_queen_youhua
- N皇后算法优化(朴素算法、DFS(深度优先搜索)+多重优化、非递归 + 多重优化)-N Queens Algorithm
回溯算法实验八皇后问题
- 利用回溯算法求解N皇后问题,理解求解流程和搜索顺序(Backtracking algorithm used to solve the N queen problem, understand the flow of the solution and search order)
爬山 完美
- 使用爬山法实现n皇后问题 输入 n,并用运行时间比较几种算法在相同规模的问题时的求解效率。列表给出结果。 比较同一算法在 n 不相同时的运行时间,分析算法的时间复杂性。(Use of climbing method to achieve the N Queens)
n皇后
- 要求采用链表形式,求两个一元多项式的乘积:h3 = h1*h2。函数原型为:void multiplication( NODE * h(NODE; void multiplication( NODE *, NODE * , NODE * ); void input( NODE * ); void output( NODE * ); void input( NODE * head ) { int flag, sign, sum, x;
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