On the Complexity of Finding a Largest Common Subtree of Bounded Degree
On the Complexity of Finding a Largest Common Subtree of Bounded Degree
复制标题
关于寻找有界度最大公共子树的复杂性
DOI:
10.1007/978-3-642-40164-0_4
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
Atsuhiro Takasu
中科院分区:
文献类型:
--
作者:
Tatsuya Akutsu;Takeyuki Tamura;Avraham A. Melkman;Atsuhiro Takasu
The largest common subtree problem is to find a bijective mapping between subsets of nodes of two input rooted trees of maximum cardinality or weight that preserves labels and ancestry relationship. The problem is known to be NP-hard for unordered trees. In this paper, we consider a restricted unordered case in which the maximum outdegree of a common subtree is bounded by a constant D. We present an O (n D) time algorithm where n is the maximum size of two input trees, which improves a previous O (n 2 D) time algorithm. We also present an O ((H 2⋅ 2 2 H− 1⋅ D 2 H) D− 1 poly (n)) time algorithm, where H is the maximum height of two input trees.