期刊文献+

N元皇后问题的快速矩阵解法及其计数算法 被引量:1

A Fast Matrix Solution Method and Counting Algorithm of N-adic Queen Problem
下载PDF
导出
摘要 在基于N元皇后问题回溯算法的基础上 ,提出一种更快速的求解算法 ,该算法借助于矩阵不但避免了求解复杂的逻辑表达式 ,而且由于改进了使用循环结果的条件 ,从而减少了比较次数 ,使得算法的运行效率更高 .同时 ,还讨论了N元皇后的彼此不等价的互不攻击的布局问题 ,并给出了具体算法 . Based on the backtracking algorithm for N adic queen problem, we give a faster algorithm which involves matrices. Using this algorithm, we can avoid calculating complicated logic expressions and reduce the comparisons since the loop termination condition is improved. Furthermore we also discuss the inequivalent distributions in which the N adic queens do not attack on each other, and give an algorithm.
作者 李忠
出处 《四川师范大学学报(自然科学版)》 CAS CSCD 2001年第5期467-470,共4页 Journal of Sichuan Normal University(Natural Science)
关键词 N元皇后问题 标识矩阵 等价 快速矩阵解法 互不攻击 合理布局 计数算法 N adic queen promblem Mark matrix Equivalence
  • 相关文献

参考文献3

  • 1严蔚敏,数据结构(C语言版),1997年
  • 2徐士良,计算机常用算法(第2版),1995年
  • 3周培德,算法设计与分析,1992年

同被引文献4

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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