期刊文献+

Hanoi塔问题一种非递归算法的C++实现 被引量:1

Implementation of C++ to Make A Non-recursive Algorithm about Tower of Hanoi
在线阅读 下载PDF
导出
摘要 通过对汉诺问题的递归算法及结果的分析,创造性地借助二叉树的数据结构设计出非递归算法。给出了实现该算法的C++语言源程序。该算法并未真正在物理上生成所谓的二叉树,有别于常规对二叉树结构的使用。 Through analyzing the recursive algorithm and result of Hanoi problem, this paper designs the non--recursive algorithm creatively by dint of the data structure of binary -tree,and presents the source program of C+ + to make the algorithm. This algorithm hasn't really created the same binary- tree physically,and it is different from the traditional binary--tree structure in application.
作者 贺存薪
机构地区 北京交通大学
出处 《电脑开发与应用》 2006年第4期54-56,共3页 Computer Development & Applications
关键词 汉诺 非递归 二叉树 中序遍历 算法 实现 Hanoi, non - recursive, binary - tree, inorder traversal, algorithm, implementation
  • 相关文献

参考文献8

二级参考文献10

  • 1周尚超,徐保根,周学松.关于Hanoi塔问题[J].华东交通大学学报,1996,13(4):65-68. 被引量:1
  • 2张益新 沈雁.算法引论[M].北京:国防科大出版社,1992..
  • 3周宣年.Turbo PASCAL程序设计[M].成都:电子科技大学出版社,1996..
  • 4郑启华.PASCAL程序设计[M].北京:清华大学出版社,1995,12..
  • 5张世昌 毛树桢.BASIC语言程序设计[M].北京:电子工业出版社,1999.8-10.
  • 6苏德富 钟诚.计算机算法设计与分析[M].北京:电子工业出版社,1996.12-20.
  • 7[美]Nils J Nilsson.Aritficial Intelligence:A New Synthesis[M].北京:机械工业出版社,1999..
  • 8谭浩强,C程序设计,1991年,118页
  • 9[美]NilsJNilsson著 郑扣根译.人工智能[M].北京:机械工业出版社,2000.3-46.
  • 10孟林,李忠.递归算法的非递归化研究[J].计算机科学,2001,28(8):96-98. 被引量:13

共引文献24

同被引文献2

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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