Simple fast algorithms for the editing distance between trees and related problems:(简单快速的树编辑距离的算法和相关的问题).pdfVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
SIAM J. COMPUT. (C) 1989 Society for Industrial and Applied Mathematics
Vol. 18, No. 6, pp. 1245-1262, December 1989 011
SIMPLE FAST ALGORITHMS FOR THE EDITING DISTANCE BETWEEN
TREES AND RELATED PROBLEMS*
KAIZHONG ZHANG AND DENNIS SHASHA$
Abstract. Ordered labeled trees are trees in which the left-to-right order among siblings is. significant.
The distance between two ordered trees is considered to be the weighted number of edit operations
(insert, delete, and modify) to transform one tree to another. The problem of approximate tree matching is
also considered. Specifically, algorithms are designed to answer the following kinds of questions:
1. What is the distance between two trees?
2. What is the minimum distance between T and T when zero or more subtrees can be removed
from T2
3. Let the pruning of a tree at node n mean removing all the descendants of node n. The analogous
question for prunings as for subtrees is answered.
A dynamic programming algorithm is presented to solve the three questions in sequential time O(I Tll x
IT2lxmin (depth(Tt), leaves( T)) x min (depth(T2), leaves(T2))) and space O(Ir, x lT21) compared with
o(I T,I IT=I x(depth(T)): x (depth(T2))) for the best previous published algorithm due to Tai [J. Assoc.
Comput. Mach., 26 (1979), pp. 422-433]. Further, the algorithm presented here can be parallelized to give
time O(1 T[ /1 T=I).
Key words, trees, editing distance, parallel algorithm, dynamic programming, pattern recognition
AMS(MOS) subject classifications. 68P05, 68Q25, 68Q20, 68R10
1. Motivation.
1.1. Applications. Ordered labeled trees are trees whose nodes are labeled and in
which the left-to-right order among siblings is significant. As such they can represent
grammar parses, imag
您可能关注的文档
- Ethnic Enclaves and the Economic Success of Immigrants – Evidence from a Natural Experiment, Quarterly:(民族聚居和移民的经济上的成功u2014u2014从一个自然实验证据,季度).pdf
- Exact and Approximation Algorithms for Sorting By Reversals, With Application to Genome Rearrangement:(精确和近似算法排序的逆转,应用基因组重排).pdf
- Experiences with an Architecture for Intelligent, Reactive Agents:(经历一个智能架构,活性代理).pdf
- Explaining Collaborative Filtering Recommendations:(解释了协同过滤推荐).pdf
- Explicit Allocation of Best-Effort Packet Delivery Service:(显式分配的最优包送货服务).pdf
- Exposure In Wireless Ad-Hoc Sensor Networks:(暴露在无线特别的传感器网络).pdf
- Exploiting virtual synchrony in distributed systems:(利用虚拟同步分布式系统).pdf
- Extracting product features and opinions from reviews:(从评论中提取产品特性和意见).pdf
- FASB Issues FSP Affecting Companies Emerging From Bankruptcy FASB Issues Guidance on Intangible Assets Subject:(FASB问题影响公司走出破产FASB FSP问题无形资产方面的指导).pdf
- FASB Issues Guidance on Endowments FASB Issues Revised Exposure Draft on Earnings per Share:(FASB问题指导禀赋FASB修订意见稿对每股收益的问题).pdf
- Simple technical trading rules and the stochastic properties of stock returns:(简单的技术交易规则和股票收益的随机特性).pdf
- Sliced inverse regression for dimension reduction:(降维切片逆回归).pdf
- Social, Individual & Technological Issues for Groupware Calendar Systems:(社会、个人和群件日历系统的技术问题).pdf
- SOME US EVIDENCE AND ITS IMPLICATIONS:(一些美国及其影响的证据).pdf
- Specification and analysis of system architecture using Rapide:(规范和使用主系统架构分析).pdf
- Spectrophotometric Determination of Cadmium (II) in Soil of Allotment Gardens:(光度法测定土壤中镉(二)分配花园).pdf
- Speculative Data Dissemination and Service to Reduce Server Load, Network Traffic and Service Time in . . .:(投机数据传播和服务来减少服务器负载,网络流量和服务时间。).pdf
- Stable Fluids:(稳定的液体).pdf
- Statistical shape influence in geodesic active contours:(统计形状影响测地线主动轮廓).pdf
- Storage and executive processes in the frontal lobes:(存储在额叶和执行过程).pdf
文档评论(0)