文件名称:eightqueens
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.14kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用 Scheme 来解决八皇后问题。八皇后问题:在 8*8 的棋盘上放置彼此不受攻击的 8 个皇后。按照国际象棋的规 则皇 后可以攻击与之处在同一行或同一列或同意斜线上的棋子。找出所有合法的 使8 个皇后 彼此不受攻击的放置方法。1 )除了完成 queens 的定义之外 , 给出一个打印输出过程 print-queens-Scheme used to solve the problem of the eight Queen' s. 8 Queen' s problem: In the 8* 8 chessboard without attacking each other to place the 8 Queens. In accordance with the rules of chess with the Queen can attack in the same column or row, or agreed to slash the piece. To identify all the legitimate Queen of eight so that each placement method against attacks. 1) In addition to the completion of the definition of queens are given a printout of the process of print-queens
相关搜索: 8 queens scheme
(系统自动生成,下载前可以参看下载内容)
下载文件列表
eightqueens.scm
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.