On the Complexity of Tree Edit Distance with Variables
On the Complexity of Tree Edit Distance with Variables
复制标题
DOI:
10.4230/lipics.isaac.2022.44
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
T. Akutsu;Tomoya Mori;Naotoshi Nakamura;Satoshi Kozawa;Yuhei Ueno;Thomas N. Sato
中科院分区:
文献类型:
--
作者:
T. Akutsu;Tomoya Mori;Naotoshi Nakamura;Satoshi Kozawa;Yuhei Ueno;Thomas N. Sato
In this paper, we propose tree edit distance with variables , which is an extension of the tree edit distance to handle trees with variables and has a potential application to measuring the similarity between mathematical formulas. We analyze the computational complexity of several variants of this model. In particular, we show that the problem is NP-complete for ordered trees. We also show for unordered trees that the problem of deciding whether or not the distance is 0 is graph isomorphism complete but can be solved in polynomial time if the maximum outdegree of input trees is bounded by a constant. We also present parameterized and exponential-time algorithms for ordered and unordered cases, respectively