搜索资源列表
5-Queen
- N皇后问题!图形界面演示,VC6.0开发-N Queen! GUI demonstration VC6.0 development. .
n-Queen
- 算法设计:著名的n后问题:在nXn的棋盘上放彼此不受攻击的n个皇后,按国际象棋的规则,任何2个皇后不在同一行或同一列或同一斜线上. 本算法才用回朔法来解决.-algorithm design : n after the famous question : In nXn put on the chessboard of each other against attack n empress, according to the international rules of chess, any
N-queen-Cplusplus
- 解国际象棋的N皇后问题的C++源代码,可用于大学计算机技术课程《算法分析》上机联系-Solutions International Chess Queen of the N C source code, University computer can be used for technical courses "algorithm analysis" on the plane link
queen
- 并行算法的queen问题实现。在smp环境下使用mpi编写
EIGHT—QUEEN
- 这是在VC下本人编写的解决八皇后问题的程序 ,92种解会直接输出在C:SIGN。H文件中。是用来测试一款C编译器而写的。-This the VC I prepared by the Queen's problem to solve eight procedures, 92 kinds of solutions will be directly output in the C : SIGN. H files. It is used to test new C compiler writte
Ndk_demo.网络开发工具包
- 网络开发工具包,包含三个类:服务器,客户端和消息队列 ,Tool lib for network development, contains three class : server, client and message queen
Queen.zip
- 这是数据结构中的一道经典题目,是计算在8×8的棋盘上放置8个不同行不用列的皇后的算法,This is a data structure together with the classical subject is included in the 8 × 8 board to place the eight different line of the Queen' s not out of the algorithm
queen
- 八皇后问题。利用了递归算法,很是巧妙!最后一行为输出解的个数,每行共8个数字,这些数字即代表皇后在该行的位置。-It s a code about Eight queen.
随机生成八皇后棋盘
- 随机生成八皇后棋盘,利用爬山法选择较优方案,Randomly generated eight Queen s chessboard, using mountain climbing method to choose better programs
N-Queen
- : N皇后问题,在一个N×N国际象棋盘 上,有N个皇后,每个皇后占一格;要求皇后间不会出现 相互“攻击”的现象,即不能有两个皇后处在同一行、同一 列或同一对角线上。问共有多少种不同的方法。下图以4 个皇后为例,说明一个正确的解( N是一个大于等于2并 且小于等于100的整数)-: N queens problem, a NN chess disk, N-Queen, Queen of the grid requirements between each other &quo
8queen2
- 国际象棋中8皇后问题算法-Algorithm of Eight queen question in chess
Queen
- 利用回溯法和栈来实现八皇后问题:在n×n的国际象棋棋盘上,安放n个皇后,要求没有一个皇后能够“吃掉”任何其他一个皇后,即没有两个或两个以上的皇后占据棋盘上的同一行、同一列或同一对角线-Use of backtracking and stack to achieve the eight queens problem: the n × n chess board, place n queens, a queen is not required to " eat" any other
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.
queen
- 拉斯维加斯(Las Vegas)算法来解皇后控制问题的解题报告和源代码。问题描述:在一个n×n个方格组成的棋盘上的任一方格中放置一个皇后,该皇后可以控制他所在的行,列以及对角线上的所有方格。对于给定的自然数n,在n×n个方格组成的棋盘上最少要放置多少个皇后才能控制棋盘上的所有方格,且放置的皇后互不攻击? 设计一个拉斯维加斯算法, 对于给定的自然数n (1≤n≤100)计算在n×n个方格组成的棋盘上最少要放置多少个皇后才能控制棋盘上的所有方格,且放置的皇后互不攻击。 -Las Vegas
Queen
- n*n的棋盘上放置彼此不受攻击的n个皇后,按国际象棋规则可知:皇后可以攻击同行同列同斜线的棋子-n* n chessboard placed on each other from attack of the n-Queens, according to chess rules we can see: Queen can attack the peer-pawn with the column with a slash
eight-queen
- 通过堆栈结构解决著名的八皇后问题,同时也是数据结构中的典型例题-Codes for the well-known eight-queen problem
8-queen
- 通过遗传算法实现八皇后的求解问题,用MFC实现可视化操作,界面很漂亮,算法是改良的遗传算法-Through the genetic algorithm for solving the eight queens problem
eightempress
- 自己收集的八皇后问题相关知识,有不少源代码,能解决八皇后问题-Queen
n皇后
- n皇后-n Queen
n-queen
- N-queen soluotion. Print into screen the the solution of queen in the chess board