期刊文献+

基于双端队列的类Josephus逆问题求解 被引量:1

Solution of the Josephus-like inverse problem based on double-ended queue
下载PDF
导出
摘要 对一种扑克牌游戏及Josephus逆问题进行推广得到类Josephus逆问题,探讨这类问题的最佳求解方法——基于双端队列求解,给出双端队列的循环顺序实现,重点探讨在顺序循环双端队列的基础上的这类问题的求解方法及算法分析.实验结果表明,利用双端队列,此问题不仅易于求解,也易于验证解的正确性. The Josephus-like inverse problem was defined firstly,which generalized a kind of poker game and the Josephus inverse problem,then the best way to solving the problem based on double-ended queue was studied.The double-ended queue was represented as a sequential circular list.Based on this data structure,the algorithm for the Josephus-like inverse problem and the performance analysis were given in detail.By the performance of a program,the way based on the double-ended queue was not only easy to solve the problem,but also easy to show the algorithm.
出处 《湖北大学学报(自然科学版)》 CAS 2013年第3期375-380,共6页 Journal of Hubei University:Natural Science
基金 湖北省教育厅项目(Q20101004)资助
关键词 数据结构 双端队列 扑克牌游戏 Josephus问题 类Josephus逆问题 data structure double-ended queue poker game Josephus problem Josephus-like inverse problem
  • 相关文献

参考文献9

二级参考文献33

  • 1杨芙清.软件工程技术发展思索[J].软件学报,2005,16(1):1-7. 被引量:267
  • 2陈海山,吴芸.广义表的二叉链式存储表示及其算法设计[J].计算机工程与应用,2005,41(35):38-41. 被引量:4
  • 3Michael MM. CAS-Based Lock-Free Algorithm for Shared Deques. The Ninth Euro-Par Conference on Parallel Processing, 2003. 651-660.
  • 4Michael MM, Scott ML. Simple, fast, and practical non-blocking and blocking concurrent queue algorithms. Proc. of the Annual ACM Symposium on Principles of Distributed Computing. 1996. 267-275.
  • 5Sundell KH. Efficient and Practical Non-Blocking Data Structures. Gothenburg, Sweden: Gothenburg University, 2004.
  • 6Hendler D, Shavit N, Yerushalmi L. A scalable lock-free stack algorithm. Journal of Parallel and Distributed Computing, 2010,70(1):1-12.
  • 7Colvin R, Dongol B. A general technique for proving lock-freedom. Science of Computer Programming, 2009,74 (3):143-165.
  • 8Sundell KH. NOBLE Professional Edition Application Programmers Interface (API). 2008.5.
  • 9Hansson H. A network for real-time research and graduate education in Sweden. Uppsala, Sweden: Uppsala University, 2006:161-179.
  • 10严蔚敏 吴伟民.数据结构[M].北京:清华大学出版社,2002..

共引文献126

同被引文献9

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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