An optimal algorithm for computing all subtree repeats in trees

被引:2
|
作者
Flouri, T. [1 ]
Kobert, K. [1 ]
Pissis, S. P. [1 ,2 ]
Stamatakis, A. [1 ,3 ]
机构
[1] Heidelberg Inst Theoret Studies, D-69118 Heidelberg, Germany
[2] Kings Coll London, London WC2R 2LS, England
[3] Karlsruhe Inst Technol, D-76021 Karlsruhe, Germany
关键词
tree data structures; unrooted unordered labelled trees; subtree repeats;
D O I
10.1098/rsta.2013.0140
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
Given a labelled tree T, our goal is to group repeating subtrees of T into equivalence classes with respect to their topologies and the node labels. We present an explicit, simple and time-optimal algorithm for solving this problem for unrooted unordered labelled trees and show that the running time of our method is linear with respect to the size of T. By unordered, we mean that the order of the adjacent nodes (children/neighbours) of any node of T is irrelevant. An unrooted tree T does not have a node that is designated as root and can also be referred to as an undirected tree. We show how the presented algorithm can easily be modified to operate on trees that do not satisfy some or any of the aforementioned assumptions on the tree structure; for instance, how it can be applied to rooted, ordered or unlabelled trees.
引用
收藏
页数:13
相关论文
共 50 条
  • [41] On an algorithm of Zemlyachenko for subtree isomorphism
    Dinitz, Y
    Itai, A
    Rodeh, M
    INFORMATION PROCESSING LETTERS, 1999, 70 (03) : 141 - 146
  • [42] The Subtree Size Profile of Bucket Recursive Trees
    Kazemi, Ramin
    IRANIAN JOURNAL OF MATHEMATICAL SCIENCES AND INFORMATICS, 2016, 11 (01): : 1 - 11
  • [43] Agreement Subtree Mapping Kernel for Phylogenetic Trees
    Hamada, Issei
    Shimada, Takaharu
    Nakata, Daiki
    Hirata, Kouichi
    Kuboyama, Tetsuji
    NEW FRONTIERS IN ARTIFICIAL INTELLIGENCE (JSAI-ISAI 2013), 2014, 8417 : 321 - 336
  • [44] Computing Dense Tensor Decompositions with Optimal Dimension Trees
    Oguz Kaya
    Yves Robert
    Algorithmica, 2019, 81 : 2092 - 2121
  • [45] Computing Dense Tensor Decompositions with Optimal Dimension Trees
    Kaya, Oguz
    Robert, Yves
    ALGORITHMICA, 2019, 81 (05) : 2092 - 2121
  • [46] Computing optimal linear layouts of trees in linear time
    Skodinis, Konstantin
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2000, 1879 : 403 - 414
  • [47] AN OPTIMAL ALGORITHM FOR COMPUTING VISIBILITY IN THE PLANE
    HEFFERNAN, PJ
    MITCHELL, JSB
    SIAM JOURNAL ON COMPUTING, 1995, 24 (01) : 184 - 201
  • [48] AN OPTIMAL ALGORITHM FOR COMPUTING VISIBILITY IN THE PLANE
    HEFFERNAN, PJ
    MITCHELL, JSB
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 519 : 437 - 448
  • [49] AN OPTIMAL ALGORITHM FOR COMPUTING THE REPETITIONS IN A WORD
    CROCHEMORE, M
    INFORMATION PROCESSING LETTERS, 1981, 12 (05) : 244 - 250
  • [50] AN ALGORITHM FOR COMPUTING OPTIMAL EXPONENT PAIRS
    GRAHAM, SW
    JOURNAL OF THE LONDON MATHEMATICAL SOCIETY-SECOND SERIES, 1986, 33 : 203 - 218