文件名称:NqueenProblem
- 所属分类:
- 人工智能/神经网络/遗传算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 113kb
- 下载次数:
- 0次
- 提 供 者:
- heaven******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
我们采用最小冲突启发式修补算法来求N皇后的解,开始时,N个皇后每行一个,位置是随机的。而后,依次考虑每一行,用进攻那个单元的皇后数(在那一行外面),标示出那一行的每个单元。将该行的皇后移到那个最小进攻皇后数的单元。据此,不断进行下一行,直到找到解为止。-We use the smallest conflict heuristic repair algorithm to seek the solution of N s, the beginning, N of Queen s one per line, the location is random. Then, in order to consider each line, with the offensive unit that s a few (in the line outside), marking out the line of each unit. The Queen s visit to the Queen that the smallest number of offensive units. Accordingly, the continuous line to the next, until you find the solution so far.相关搜索: 随机
皇后
皇后
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Debug
.....\Queens.exe
queens.cpp
Queens.dsp
Queens.dsw
Queens.ncb
Queens.opt
Queens.plg
利用启发式修补解N 皇后问题.doc
.....\Queens.exe
queens.cpp
Queens.dsp
Queens.dsw
Queens.ncb
Queens.opt
Queens.plg
利用启发式修补解N 皇后问题.doc