搜索资源列表
n后问题
- 在 n 行 n 列的国际象棋棋盘上,最多可布n个皇后。 若两个皇后位于同一行、同一列、同一对角线上,则称为它们为互相攻击。 n皇后问题是指找到这 n 个皇后的互不攻击的布局。 n 行 n 列的棋盘上,主次对角线各有2n-1条。-n n trip out of the international chess board, the maximum n Queen's cloth. If two at the same Queen's visit, the same s
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
排列和n皇后
- 这是一个关于算法中的皇后问题的算法。-This is one of the Queen's algorithm of algorithms.
N-Queens
- 此N皇后问题更具通用性,虽然在N=16时运行时间过长,但是还是有意义的。
N皇后问题回溯算法
- 皇后问题的拓展 经典算法-Queen expand the classical algorithm
queenn(N皇后问题)
- 在一个N×N的国际象棋棋盘中摆N个皇后,使这N个皇后不能互相被对方吃掉。-in an N N chess board wavers N Queen so that the N-Queens that can be eaten by the other side.
回溯法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!
N皇后问题
- 在一个N×N的国际象棋棋盘中摆N个皇后,使这N个皇后不能互相被对方吃掉。-Put on N queens in a N multiply N chessboard,preventing each queen to be knocked over
QUEues皇后问题
- 此程序完成N皇后问题。大家可以互相讨论学习。-N Queen's problem. We can learn from each other discussions.
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
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.
8-queen
- 通过遗传算法实现八皇后的求解问题,用MFC实现可视化操作,界面很漂亮,算法是改良的遗传算法-Through the genetic algorithm for solving the eight queens problem
QUEEN
- N皇后游戏。-N empress plays.
n-queens-mm
- c实现n皇后m棋盘, c实现n皇后m棋盘, -c realization of n
Queen_lv
- 采用LasVegas概率算法高效解决N皇后问题,并统计其成功与失败的概率,这是中国科技大学的高级算法设计的设计-LasVegas probability algorithm used to solve N Queen efficient, and its success or failure of statistical probability, which is China University of Science and Technology Advanced Algorithm Desi
N-QUEEN
- 在一个N×N的国际象棋棋盘中摆N个皇后,使这N个皇后不能互相被对方吃掉。 N皇后算法源码-N × N in a chess board in N months before Queen s, so that the N-Queen s was the other side can not eat each other. N Queen s algorithm source code
Queen_GA
- 使用人工智能的遗传算法来解N皇后问题,能已较快的速度来搜索N皇后。-The use of artificial intelligence genetic algorithms to solve N Queen s problem, can have high speed to search for N Queen.
n
- 这是n皇后回溯法,可能有点不是很优的,大家拿去多改进-nqueque
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
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