首页 | 本学科首页   官方微博 | 高级检索  
     

用状态空间法求解9-宫图问题的理论研究
引用本文:韩爱丽. 用状态空间法求解9-宫图问题的理论研究[J]. 山东大学学报(工学版), 2004, 34(4): 51-54
作者姓名:韩爱丽
作者单位:山东大学威海分校,计算机系,山东,威海,264209;中国科学院,软件研究所计算机科学重点实验室,北京,100080
基金项目:中国科学院软件研究所计算机科学重点实验室开放课题基金 (SYSKF0 3 0 8),山东大学威海分校科研项目 (XZ0 3 0 3 2 )
摘    要:对用状态空间法求解 9 宫图问题时的状态变化规律进行研究 .通过研究发现 ,对于 9 宫图问题的任意实例 ,当其逆序数为偶数时 ,状态总是由逆序数为偶数的一个状态到达逆序数为偶数的另一个状态 ,并且总能在有限步内把棋子按次序排列好 ;当其逆序数为奇数时 ,状态总是由逆序数为奇数的一个状态到达逆序数为奇数的另一个状态 ,并且总是不能把棋子按次序排列好 ,但总能到达状态 12 345 6 87.通过理论证明 ,指出 9 宫图问题的状态空间由两个连通分支组成 :逆序数为偶数的连通分支E和逆序数为奇数的连通分支O .若 9 宫图实例的初始状态和目标状态位于不同的连通分支 ,则实例无解 ;若 9 宫图实例的初始状态和目标状态位于同一连通分支 ,则必可在有限步内求得实例的解 .

关 键 词:智能计算  状态空间  9-宫图
文章编号:1672-3961(2004)04-0051-04
修稿时间:2004-04-20

A study on the solution of 9-room diagram by state space method
HAN Ai-li . A study on the solution of 9-room diagram by state space method[J]. Journal of Shandong University of Technology, 2004, 34(4): 51-54
Authors:HAN Ai-li
Affiliation:HAN Ai-li 1,2
Abstract:The state-change law of solving 9-room diagram by state space method is researched in this paper. It is discovered that,for any instance of the 9-room diagram,if the contra-order number is even,the state is always from one state with even contra-order number to another state with even contra-order number,and the chessman can surely be arranged in order in the limited steps. If the contra-order number is odd,the state is always from one state with odd contra-order number to another state with odd contra-order number,and the chessman can not be arranged in order but can arrive at the state 12345687 in the limited steps. By giving the proof in theory,it is pointed out that the state space of 9-room problem is composed of two connected branches-the branch E,in which the contra-order number is even,and the branch O,in which the cowtra-prder nwmber is odd. If the original state and the object state of any 9-room instance are located in different connected branches,the instance has no solution;and if both the original state and the object state are located in the same connected branch,the solution of the instance can be obtained in the limited steps.
Keywords:intelligent computation  state space  9-room diagram  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号