首页> 外文期刊>Algorithmica >Approximating Tree Edit Distance through String Edit Distance
【24h】

Approximating Tree Edit Distance through String Edit Distance

机译:通过字符串编辑距离近似树的编辑距离

获取原文
获取原文并翻译 | 示例
           

摘要

We present an algorithm to approximate edit distance between two ordered and rooted trees of bounded degree. In this algorithm, each input tree is transformed into a string by computing the Euler string, where labels of some edges in the input trees are modified so that structures of small subtrees are reflected to the labels. We show that the edit distance between trees is at least 1/6 and at most O(n 3/4) of the edit distance between the transformed strings, where n is the maximum size of two input trees and we assume unit cost edit operations for both trees and strings. The algorithm works in O(n 2) time since computation of edit distance and reconstruction of tree mapping from string alignment takes O(n 2) time though transformation itself can be done in O(n) time. Keywords Tree edit distance - String matching - Approximation algorithms - Embedding - Euler string A preliminary version of this paper appeared in the Proceedings of the 17th Annual International Symposium on Algorithms and Computation (ISAAC’06), Lecture Notes in Computer Science, 4288, pp. 90–99, 2006. This work is partially supported by Grants-in-Aid on Scientific Research on Priority Areas “Cyber Infrastructure for the Information-explosion Era” and “Systems Genomics”, and Grant-in-Aid #16300092 from MEXT, Japan.
机译:我们提出了一种算法,用于估计两个有界度的有序树和有根树之间的编辑距离。在该算法中,通过计算Euler字符串将每个输入树转换为字符串,其中修改输入树中某些边缘的标签,以便将小子树的结构反映到标签上。我们表明,树之间的编辑距离至少是变换后的字符串之间的编辑距离的1/6,并且至多为O(n 3/4 ),其中n是两棵输入树的最大大小并且我们假设针对树和字符串的单位成本编辑操作。该算法的工作时间为O(n 2 ),因为尽管可以完成转换本身,但计算距离和从字符串对齐中重建树映射需要O(n 2 )时间。在O(n)时间内。关键字树编辑距离-字符串匹配-近似算法-嵌入-欧拉字符串本文的初步版本出现在第17届年度算法与计算国际研讨会论文集(ISAAC'06),计算机科学讲义,4288,pp 2006年9月90日至99日,这项工作得到了有关优先领域“信息爆炸时代的网络基础设施”和“系统基因组学”的科研资助计划以及MEXT的资助计划#16300092的部分支持。 , 日本。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号