期刊文献+

逆序树在求解一维数组最长升序序列问题中的应用 被引量:1

Application of reverse tree in finding the longest ascending sequence in one dimensional array
下载PDF
导出
摘要 针对一维数组中求最长升序序列问题,在研究树形结构和分析任务需求的基础上,提出采用区别于传统树的逆序树结构进行计算,采用深度优先算法策略查找路径。逆序树采用子节点指向父节点的节点逆序指向方式,在建树过程中不用为每个节点考虑子节点的数量,克服了不可预见的存储分配和节点指向问题,能有效地找出全部升序路径,最终找出一维数组中全局最长的升序序列。在此基础上实现的Java程序验证了逆序树结构的有效性。 Aiming at the problem of finding the longest ascending sequence in one .dimensional array, the tree data structure is studied, and the reverse tree which is different from the traditional tree, is proposed. Depth-first strategy in algorithm design is applied. Reverse tree means that son node points to father node. Using it to build tree, the program no longer needs to care about the counts of every node's children, the unforeseeable storage allocation and node point. It can easily find out all ascending sequences, and global longest ascending sequences. Java program based on this proves that the reverse tree is effective.
作者 刘芳
机构地区 西藏大学工学院
出处 《计算机时代》 2013年第3期37-38,41,共3页 Computer Era
关键词 逆序树 传统树 节点 深度优先 最长升序序列 reverse tree traditional tree node depth first the longest ascending seq.uence
  • 相关文献

参考文献6

二级参考文献44

  • 1Jian-ErChen.Parameterized Computation and Complexity: A New Approach Dealing with NP-Hardness[J].Journal of Computer Science & Technology,2005,20(1):18-37. 被引量:21
  • 2陈朋.后序遍历二叉树的递归和非递归算法[J].安庆师范学院学报(自然科学版),2005,11(2):106-107. 被引量:5
  • 3朱涛.基于遍历二叉树的方法判断完全二叉树[J].红河学院学报,2005,3(6):47-48. 被引量:2
  • 4徐凤生,李立群,马夕荣.二叉树遍历的通用非递归算法[J].福建电脑,2006,22(6):121-121. 被引量:4
  • 5Monien B. How to find long paths efficiently[J]. Annals of Discrete Mathematics, 1985,25: 239-254.
  • 6Bodlaender H L. On linear time fninor tests with depth - first seareh[J]. Algorithms, 1993,14(1): 1-23.
  • 7Garey M R,Johnson D S. Computers and Intractability: A Guide to the Theory of NP-completeness[M]//Freeman W H. San Francisco, 1979.
  • 8Scott J, Ideker T, Karp R M, et al. Efficient algorithms for detecting signaling pathways in protein interaction networks[J]. Journal of Computational Biology, 2006,13 (2) : 133-144.
  • 9Shlomi T, Segal D, Ruppin E, et al. QPath: a method for querying pathways in a protein-protein interaction network[J]. BMC Bioinformatics, 2006,7 ( 1 ) : 199.
  • 10Kelley B P, Sharan R, Karp R M, et al. Conserved pathways within bacteria and yeast as revealed by global protein network alignment[J]. Procee-dings of the National Academy of Sciences, 2003,100(20) : 11394-11399.

共引文献14

同被引文献4

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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