搜索资源列表
面向对象n皇后
- 思路清晰的n皇后问题求解,采用面向对象思路编写,封装类可在其他程序中灵活调用-lucid n Queen's problem solving, object-oriented ideas to prepare, Packaging category in other proceedings flexible call
N_queue
- 根据回朔法思想来求解N皇后问题,用递归来实现回朔.-Thought to solve N Queen's problems, and use recursion to achieve back Schomburg.
8-queen
- 通过遗传算法实现八皇后的求解问题,用MFC实现可视化操作,界面很漂亮,算法是改良的遗传算法-Through the genetic algorithm for solving the eight queens problem
nhuanghouwenti
- n皇后问题的求解,有具体的演示结果,并含有结果的个数-n queen problem solving, there are specific demonstration results, and contains the results of the number of
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.
DataStruct
- 此文件夹中共包括十二个小程序 AVL创建平衡二叉树,通过加入一个个的结点创建,并实现了平衡二叉树中的结点删除 Boyer_Moore算法的串模式匹配 Horspool算法的串模式匹配 Graph实现了有向图的非递归广度优先遍历及非递归深度优先遍历 HeapSort利用堆排序实现优先级队列 Merge实现二路归并排序算法 MFK动态规划解背包问题 nqueue求解n皇后问题 QuickSort快速排序算法的实现。 Shell排序算法的实现。 Tree程序
nhou
- 编写程序对N皇后问题进行求解:在8行8列的棋盘上放置N个皇后,使任一个皇后都不能吃掉其他的(N-1)个皇后(注:皇后可吃掉与她处于同行或同列或同一对角线上的其他棋子),并将结果以某种方式显示出来-After the issue of N
Cpp1
- N皇后问题求解,根据不同的N值得出不同的求解结果-N Queen' s problem solving, based on different N should be the result of different solution
queen
- 用回溯法的思想解答 n皇后问题,掌握使用回溯法求解问题的基本思路-The idea with backtracking to answer n queens problem, master the use of backtracking to solve the problem of the basic ideas
8queen
- 通过遗传算法求解N皇后问题,用c++编写-Through the Genetic Algorithm for N queens problem, using c++ write
N-queen
- 求解n皇后问题。给定一个N×N的棋盘,在棋盘上放置N个皇后,使得N个皇后两两之间互不攻击。任何两个处于同一列,同一行,同一对角线上的皇后都会互相攻击。 -Solve the n queens problem. To set a NN board, place N queens on a chessboard, making the N-queens do not attack each other between every two. Any two in the same column,
eightqueens
- n次递归回溯算法,采用上对角线,下对角线的方法解决n皇后难题。并且将皇后和棋盘大小参数化,只要改变参数就能进行n皇后问题的求解,并且输出到文件中,便于查看所有解。-n recursive backtracking algorithm, on the diagonal, and solutions under the diagonal n Queens problem. And parameterization of the Queen and board size, simply changin
EasyCP-0.1.22010
- 此源码用于进行约束求解, 可以解决很多约束满足问题, 例如N皇后问题。-This source is used for constraint solving, constraint satisfaction can solve many problems, such as N-Queens problem.
nqueen
- 这是一个用c++实现的,关于用分支限界法求解n皇后问题的小程序,希望对所有初学者能够有所帮助-This is a c++ achieve, on the use of branch and bound method to solve n-queens problem of small procedures, we hope to be helpful to all beginners
N-QWEENS
- 经典的N皇后问题,运用递归方法求解,具有一定参考价值-Classic N queens problem, using a recursive method for solving a certain reference value
Erlang_queen
- Erlang实现给定m个处理器,并行求解N皇后问题的所有解,最后列出所有解的个数和统计的求解时间。-All solutions Erlang achieve a given m processors, parallel N queens problem solving, and the number listed at the end of all solutions and statistical computation time.
queen
- 求解N皇后问题,解决棋盘上皇后不能在同一横向竖向斜向的问题-Solving the N- Queens problem, not solve the queen on the board in the same vertical transverse oblique problem
N皇后
- n皇后求解利用给定的程序,针对10个不同问题规模n,计算正确的n后排列方案。啊实打实的(Use of a given application, in view of 10 different problem size n, calculate the correct arrangement scheme after n. Oh, hush)
n皇后问题
- 递归回溯法求解并输出输出n皇后问题所有解法(n的取值不限)(Output all solutions to the N queens problem)
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