期刊文献+

基于双向广度优先搜索的魔力方块问题求解 被引量:3

Solution for Magic Square Problem Based on Bidirectional Breadth-first Search
下载PDF
导出
摘要 将魔力方块问题与八数码问题进行对比分析,通过讨论魔力方块问题是否有解、解的最少步数、状态表示、状态判重、状态转换关系等相关问题,提出一种基于双向广度优先搜索和状态转换表的求解算法。实验结果表明,与有界深度优先搜索、简单广度优先搜索及A*搜索算法相比,该算法效率较高,稳定性较好,可以实现魔力方块问题的实时求解及演示。 This paper introduces magic square problem,and analyzes 8-puzzle problem comparatively.It comprehensively discusses some issues relevant to solving magic square problem,such as whether there is a solution,minimum steps,state representation,state repetition judging,transition relation between states of magic square problem.It proposes a solution based on bidirectional Breadth-first Search(BFS) and state transition table.Experimental results prove that compared with other algorithms,the algorithm proposed is efficient and stable,which meets the requirements of real-time solving and presentation of magic square problem.
作者 王桂平 张帅
出处 《计算机工程》 CAS CSCD 北大核心 2011年第20期219-222,共4页 Computer Engineering
基金 国家自然科学基金资助项目(50975250) 浙江省自然科学基金资助项目(Y1110671)
关键词 魔力方块问题 状态判重 状态转换表 双向广度优先搜索 八数码问题 magic square problem state repetition judging state transition table bidirectional Breadth-first Search(BFS) 8-puzzle problem
  • 相关文献

参考文献5

二级参考文献21

共引文献27

同被引文献36

引证文献3

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部