搜索资源列表
nQueens
- 使用C语言解决n皇后问题,包括递归和非递归的实现源码。运行环境:Linux,g-Using the C language to solve n queens problem, including the recursive and non-recursive implementation of source code. Runtime Environment: Linux, gcc
Queen
- Queen,用回溯法递归方法实现n皇后问题-Queen, with backtracking recursive method to achieve n queens problem
NQueen
- N皇后问题的人工求解和自动求解实现,有详细的课件。-N Queens Problem Solving manual and automatic solving to achieve, detailed courseware.
test
- N Queens Code developed in VC-N Queens Code developed in VC++
NQueen
- N皇后问题,可以设置皇后个数,很简单的实现,适合初学者学习。-N queens problem, you can set the number of the Queen, very simple to achieve, for beginners to learn.
NQueen5
- 搜索算法-N皇后问题的自动求解搜索算法-N皇后问题的自动求解-Search algorithm-N Queens Problem-N automatic search algorithm for solving the problem of automatically solving Queen
Nqueensproblem
- 题目说明: 在一个N×N的国际象棋棋盘中摆N个皇后,使这N个皇后不能互相被对方吃掉。 题目要求: (1)依次输出各种成功的放置方法。 (2)最好能画出棋盘的图形形式,并动态的演示试探过程。 (3)程序能方便的移植到其它规格的棋盘上。 -Title Descr iption: In an N × N chess board in place N queens, so that the N-Queen can not eat each other to be each
nqueens
- 本程序实现的是回溯法解决N皇后问题,并且还有图形化显示。-Implementation of this program is backtracking to solve N Queens problem, and also displayed graphically.
NQueens
- 这是一个N后问题,首先是用非递归减枝思想实现算法。同时也包括了位图能适应的放大与缩小函数。然后用VC实现界面的显示结果。-This is a N Queens problem, first by using non-recursive algorithm of branch thinking. Then use the VC to display the results.
n_queen
- 自己写的解决n皇后问题的一个c++ 源代码,希望对初学者有所帮助-Write your own solution to an n queens problem c++ source code, want to help beginners
queen
- 本程序应用c++语言,很好地实现了n皇后问题。-The program application c++ language, it is very well n queens problem.
queen
- 实现N皇后的问题,主要是利用回朔算法,觉得挺好,和大家分享-N Queens problem to achieve, mainly using retrospective method, I feel very good, and share
QueenN
- 国际象棋棋盘中的N皇后问题,不少朋友请知道吧?在一个NXN的国际象棋棋盘中摆n个皇后,使这N个皇后不能互相被对方吃掉,你知道应该怎么做么?怎么个摆法?要想知道答案,就解读一下本代码吧。-Chess board in the N queens problem, many friends you know? In a NXN chess board in the place n queens, so that the N queens can not eat each other by the ot
nn
- N皇后问题的算法,算法设计中的基本算法,-N queens algorithm, algorithm design, the basic algorithm
nqueen
- 用概率算法求解N皇后问题。1、拉斯维加斯概率算法 每一行得到了几个摆放位置时,不是按顺序进行摆放,而是随机摆放的。因此程序每次运行的时间都不一样。用拉斯维加斯算法除非找不到解,如果找到,答案就一定是正确的。-Probabilistic algorithm with N queens problem. 1, Las Vegas probabilistic algorithms have several display each line position, not by placing the
NQUEENS
- N queens problem :Code to adjust n queens in a N*N chess board such that no 2 queens are in the same row,in same Column and in same diagonal
1945_N_Queens_Question
- 在NXN格的国际象棋棋盘上摆放N个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。 第一行为一个整数T,表示有T组数据。 以下T行,每行有一个整数n(0<n<=11),如上所述。 对于每组数据输出一行,即问题的答案。 -In NXN chess board grid placing N queens on, it can not attack each other, that any two of the Queen can
n_queens
- Problema de N queens con backtraking
NQueens
- Solves the N-Queens problem using hillclimbing.-Solves the N-Queens problem using hillclimbing.
Queen_lv
- 这个代码是用visual c++6.0编写的用概率算法求n皇后问题,当输入n具体值时便会出现失败和成功探测的步数,以及耗时等信息,很好地实现了经典的n皇后问题,即棋盘上放置皇后要有一定的规则,比如不同行列等。-This code is written in visual c++6.0 using probabilistic algorithms find n queens problem, the exact value of the input n there will be failures