EightQueues

所属分类:Windows编程
开发工具:Visual C++
文件大小:59KB
下载次数:12
上传日期:2007-03-13 17:28:00
上 传 者duyankang
说明:  八皇后VC图形演 算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的皇后后,第i+1行找不到合适的位置,这时就回到第i行,把第i行的皇后放到下一个位置,继续尝试下一行。如此反复,知道找到所有的解。注意,这种算法找的解可能有等价的,某些解可由别的解经过旋转棋盘得到。
(eight Queen's VC graphics algorithm thinking : A Retrospective, the first one placed on a Queen's OK, Then the two firms placed on the appropriate location of an empress, followed by analogy, if eight Out filled with that found a solution. If good first section of the Queen's trip i, i-a trip to find a suitable location, this time on the trip back to the i, i section of the Queen's trip into a position and will continue to the next line. So many, find all know the solutions. Note that the algorithm to find the solution may be equivalent to the solution may be some other solution is through rotating chessboard.)

文件列表:
254945 (0, 2011-02-18)
254945\八皇后VC图形演示 (0, 2011-02-18)
254945\八皇后VC图形演示\www.cnzz.cn (0, 2011-02-18)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueen.aps (36440, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueen.clw (1732, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueen.cpp (2119, 2005-06-19)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueen.dsp (4426, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueen.dsw (543, 2005-06-19)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueen.h (1368, 2005-06-19)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueen.ncb (132096, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueen.opt (54784, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueen.plg (1362, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueen.rc (6067, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueenDlg.cpp (11395, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\EightQueenDlg.h (2188, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\QueenPanel.cpp (3852, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\QueenPanel.h (1329, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\res (0, 2011-02-18)
254945\八皇后VC图形演示\www.cnzz.cn\Resource.h (1147, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\res\EightQueen.ico (1078, 2005-06-22)
254945\八皇后VC图形演示\www.cnzz.cn\res\EightQueen.rc2 (402, 2005-06-19)
254945\八皇后VC图形演示\www.cnzz.cn\StdAfx.cpp (212, 2005-06-19)
254945\八皇后VC图形演示\www.cnzz.cn\StdAfx.h (1054, 2005-06-19)
254945\八皇后VC图形演示\www.cnzz.cn\相关说明.txt (2250, 2005-06-24)

近期下载者

相关文件


收藏者