期刊文献+

线索二叉树算法的改进 被引量:2

Improvement on Threaded Binary-Tree Algorithm
下载PDF
导出
摘要 二叉树是一种重要的数据结构,而线索二叉树是为了保存在遍历二叉树时得到的信息.提出了一种新的方法对二叉树加线索,重新定义了LTag域和RTag城的使用方法.分析结果表明,新算法所生成的线索二叉树比传统的先序和后序线索二叉树优越,它使得在对线索二又树进行先序遍历和后序遍历时,使其遍历过程更加简单. The binary-tree is an important data structure. Threaded binary-tree is used for saving the information at traveling through out the binary trees. In this paper, a new method for adding thread of binary tree is presented. The new method is defind for Ltag domain and Rtag domain. The comparied result shows that the threaded binary-trees generated by the new method are more efficient than the traditional ones. The new method makes the preorder and postorder traversal of the threaded binary-tree very easy.
出处 《沈阳理工大学学报》 CAS 2008年第6期18-20,共3页 Journal of Shenyang Ligong University
关键词 线索二叉树 遍历 数据结构 threaded binary-tree traversal data structure
  • 相关文献

参考文献4

  • 1Pavlidis T. Algorithms for Graphics and Image Processing [ J ]. Computer Science press, Inc. , 1982,12:23-26 .
  • 2傅京孙.模式识别及其应用[M].北京:科学出版社,1985.
  • 3谭卓群,杨冬青,唐世渭,等.数据结构与算法[M].北京:高等教育出版社,2005.
  • 4王国均.数据结构-C语言描述[M].北京:科学出版社,2005.

共引文献2

同被引文献3

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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