文件名称:eightqueens
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-12-06
- 文件大小:
- 220kb
- 下载次数:
- 0次
- 提 供 者:
- 郑**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
n次递归回溯算法,采用上对角线,下对角线的方法解决n皇后难题。并且将皇后和棋盘大小参数化,只要改变参数就能进行n皇后问题的求解,并且输出到文件中,便于查看所有解。-n recursive backtracking algorithm, on the diagonal, and solutions under the diagonal n Queens problem. And parameterization of the Queen and board size, simply changing the parameters will be able to carry out the n-queens problem solving, and output to a file, for easy viewing of all solutions.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
eightqueens
...........\Debug
...........\.....\eightqueens.exe
...........\.....\eightqueens.ilk
...........\.....\eightqueens.obj
...........\.....\eightqueens.pch
...........\.....\eightqueens.pdb
...........\.....\vc60.idb
...........\.....\vc60.pdb
...........\dataresult.txt
...........\eightqueens.cpp
...........\eightqueens.dsp
...........\eightqueens.dsw
...........\eightqueens.ncb
...........\eightqueens.opt
...........\eightqueens.plg