Welcome![Sign In][Sign Up]
Location:
Search - queen

Search list

[matlabmatlabeightqueensquestion

Description: 该代码是用matalb实现的八皇后源代码,具体功能:可以用鼠标操作,共64个格子,用鼠标点击其中一个方块,其对角线和同一行列的格子都会变成红色,将为不可点击的状态,其中还有定时程序,显示出实现八皇后所用的时间,若实现了就会停止计时,若没有将会一直计时。可以实现重新开游戏功能和退出游戏功能。-The code is matalb Queen' s source code to achieve the eight specific functions: You can use the mouse, a total of 64 grid, right click on a box, the diagonal and the same ranks of the grid will become red, will not Click the state in which there are regular procedures to achieve 8 shows the time used by the Queen, if realized would stop the clock, if not will always be time. Can achieve re-open the game out of the game features and functionality.
Platform: | Size: 19456 | Author: 徐清明 | Hits:

[Data structsNQueen5

Description: 搜索算法-N皇后问题的自动求解搜索算法-N皇后问题的自动求解-Search algorithm-N Queens Problem-N automatic search algorithm for solving the problem of automatically solving Queen
Platform: | Size: 1938432 | Author: sunbin | Hits:

[Windows Developvc62445261344

Description: 摘 要 本设计的内容是在一个八行八列的国际棋盘上,放置八个皇后,要求在任意一行,任意一列及任意一条对角线上都不能出现两个棋子。 本设计所涉及到的程序设计语言是VC++,采用的是递归和回溯的方法。首先在棋盘上找到一个位置,放置其中的一个皇后,然后对该皇后进行检查,查看她是否与棋盘同一行、同一列或同一斜线上已存在的皇后发生冲突。如果该皇后与棋盘上已经存在的皇后不发生冲突,则该皇后就摆放在此位置,继续试探下一个皇后的合适的位置;如果该皇后与棋盘上已经存在的皇后反生冲突,则该皇后就不能放在此位置,继续试探此皇后的下一个位置。直到将八个皇后都放到棋盘上,则问题解决。通过以上的方法对本课设题目进行设计与调试最后成功的输出了八皇后所有的92中合理布局,完成了设计题目的要求。 关 键 词:递归算法,八皇后,回溯法,VC++ -Abstract The design of the content is in a line of eight international board, placed on any requirement, eight queen, any column and any diagonals cannot appear on two pieces. This design involves the programming language is used, vc++ is recursive and back. First find a position on board, and placed in one of the queen, then the queen to inspect, check whether she and board with the same column or the same line, the queen of the existing cross-court conflict. If the queen and board existing queen not conflict, the queen will put in this position, continue to test a queen s place, If the queen on board with the queen the already existing conflict, the queen was born in this position, can continue to test the queen s next position. Until eight queen on board, problem solving. Through the above method for this class set subject designing and debugging of the output of the 92 8queens all reasonable layout, completed the design set the topic request. Keywords: Recursive algorithm,Eight
Platform: | Size: 53248 | Author: 刘邵博 | Hits:

[Windows Developbahuanghou

Description: 摘 要 本设计的内容是在一个八行八列的国际棋盘上,放置八个皇后,要求在任意一行,任意一列及任意一条对角线上都不能出现两个棋子。 本设计所涉及到的程序设计语言是VC++,采用的是递归和回溯的方法。首先在棋盘上找到一个位置,放置其中的一个皇后,然后对该皇后进行检查,查看她是否与棋盘同一行、同一列或同一斜线上已存在的皇后发生冲突。如果该皇后与棋盘上已经存在的皇后不发生冲突,则该皇后就摆放在此位置,继续试探下一个皇后的合适的位置;如果该皇后与棋盘上已经存在的皇后反生冲突,则该皇后就不能放在此位置,继续试探此皇后的下一个位置。直到将八个皇后都放到棋盘上,则问题解决。通过以上的方法对本课设题目进行设计与调试最后成功的输出了八皇后所有的92中合理布局,完成了设计题目的要求。 关 键 词:递归算法,八皇后,回溯法,VC++ -Abstract The design of the content is in a line of eight international board, placed on any requirement, eight queen, any column and any diagonals cannot appear on two pieces. This design involves the programming language is used, vc++ is recursive and back. First find a position on board, and placed in one of the queen, then the queen to inspect, check whether she and board with the same column or the same line, the queen of the existing cross-court conflict. If the queen and board existing queen not conflict, the queen will put in this position, continue to test a queen s place, If the queen on board with the queen the already existing conflict, the queen was born in this position, can continue to test the queen s next position. Until eight queen on board, problem solving. Through the above method for this class set subject designing and debugging of the output of the 92 8queens all reasonable layout, completed the design set the topic request. Keywords: Recursive algorithm,Eight
Platform: | Size: 2008064 | Author: 刘邵博 | Hits:

[Game Programqueue

Description: 皇后问题 在n×n格的国际象棋上摆放n个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。-N × n queen problem in grid placing n chess queens on, so that it can not attack each other, that any two Queens can not in the same row, same column or on the same diagonal, asked how many kinds of pendulum method.
Platform: | Size: 361472 | Author: moxieyaran | Hits:

[Data structs8queen

Description: 8皇后问题 皇后数量可以自己输入 非常好用-Queen number 8 queens problem can be very useful for their input
Platform: | Size: 1024 | Author: mrlee | Hits:

[Data structsnqueen

Description: 在n*n格的棋盘上放置彼此不受攻击的N各皇后,皇后可以攻击与其处在同一行或同一列或同一斜线上的棋子。-Lattice in the n* n chessboard placed on each other from attacks, N the Queen, the Queen can attack with in the same row or column or diagonal on the same piece.
Platform: | Size: 15360 | Author: 徐婷婷 | Hits:

[Booksnqueen

Description: n后问题,n个皇后,不能在同一行或同一列或同一斜线上。-After the problem n, n a queen, not in the same row or same column or on the same diagonal.
Platform: | Size: 252928 | Author: 黄琪 | Hits:

[Othernqueen

Description: N皇后可视化演示程序,动态演示N皇后回溯过程,用MFC编的,直观、简单。-N Queen visual demonstration program, the dynamic presentation N Queen back in the process of using MFC code, intuitive and simple.
Platform: | Size: 1989632 | Author: chenlong | Hits:

[Data structsNqueensproblem

Description: 题目说明: 在一个N×N的国际象棋棋盘中摆N个皇后,使这N个皇后不能互相被对方吃掉。 题目要求: (1)依次输出各种成功的放置方法。 (2)最好能画出棋盘的图形形式,并动态的演示试探过程。 (3)程序能方便的移植到其它规格的棋盘上。 -Title Description: In an N × N chess board in place N queens, so that the N-Queen can not eat each other to be each other. Subject of the request: (1) turn out to place a variety of successful methods. (2) best able to draw a graphical form of the board, and the dynamic process of the demonstration test. (3) The procedure can be easily ported to other specifications of the board.
Platform: | Size: 1024 | Author: 浩星无恨 | Hits:

[Othereight_queens

Description: 8皇后问题 在一个8*8的棋盘里放置8个皇后,要 这8个皇后两两之间互相都不“冲突”-8 queens on an 8* 8 board in place eight queens, to the Queen' s 22 8 are not each other " conflicts"
Platform: | Size: 1024 | Author: zhangkai | Hits:

[uCOSucosiimsgqueen

Description: 基于ARM LM3S8962的UCOS II的程序,运用消息队列进行通信的例程-ucos ii program based on ARM LM3S8962, communicate with massage queen
Platform: | Size: 681984 | Author: barry | Hits:

[Chess Poker gameschess

Description: 用vc实现国际象棋,例如棋盘的设计,马,皇后的走法等等各种操作。-Achieved with the vc chess, such as board design, horse, Queen' s moves and so on all kinds of operations.
Platform: | Size: 3933184 | Author: 圣王 | Hits:

[AI-NN-PRThe_Eight_Queens_in_java

Description: This the code for 8 Queen prob in Java-This is the code for 8 Queen prob in Java...
Platform: | Size: 1024 | Author: Arun Sankar | Hits:

[AI-NN-PR8queen_in_c

Description: This the code for 8 Queen prob in C-This is the code for 8 Queen prob in C...
Platform: | Size: 3072 | Author: Arun Sankar | Hits:

[AI-NN-PR8Queen

Description: 8 Queen game with c++ console app
Platform: | Size: 1024 | Author: Saeed Torabzadeh | Hits:

[Mathimatics-Numerical algorithms8QueenPuzzle

Description: a solution in c++ for 8 queen puzzle
Platform: | Size: 1024 | Author: hamz | Hits:

[Other Games8QN02

Description: eight queen problem program
Platform: | Size: 1024 | Author: mams | Hits:

[CSharpNQueensProblemBitComputingVersion

Description: 这个是我的作业报告,写的是UVA167题目的位运算方法,效率很高,这种N皇后的方法用到USACO上面,提交也很高效,朋友测试了一下,0.3秒-This is my job report, written by subject-bit computing is UVA167 method, very efficient, this method uses USACO N Queen above, the author Ye is efficient, friends, test it, 0.3 seconds
Platform: | Size: 161792 | Author: jiaqi | Hits:

[Data structs1

Description: 八皇后最快算法,非常非常神奇……对搜索算法感兴趣的可以看看~-8 Queen' s fastest algorithm, very, very wonderful ... ... interested in the search algorithm can take a look ~
Platform: | Size: 1024 | Author: SphinX翔 | Hits:
« 1 2 ... 45 46 47 48 49 50»

CodeBus www.codebus.net