A New Top-Down Algorithm for Tree Inclusion

Yangjun Chen, Yibin Chen
{"title":"A New Top-Down Algorithm for Tree Inclusion","authors":"Yangjun Chen, Yibin Chen","doi":"10.1109/CYBERC.2010.60","DOIUrl":null,"url":null,"abstract":"We consider the following tree-matching problem: Given labeled, ordered trees P and T, can P be obtained from T by deleting nodes? Deleting a node v entails removing all edges incident to v and, if v has a parent u, replacing the edges from u to v by edges from u to the children of v. This problem has a lot of applications in the computer engineering, such as XML tree pattern query evaluation, video content-based retrieval, as well as in computational biology, and data mining. The best known algorithm for this problem needs O(|T|Þ|leaves(P)|) time and O(|leaves(P)|Þmin{DT, |leaves(T)|} + |T| + |P|) space, where leaves(T) (resp. leaves(P)) stands for the number of the leaves of T (resp. P), and DT (resp. DP) for the height of T (resp. P). In this paper, we present a new algorithm that requires O(|T|Þmin{DP, |leaves(P)|}) time and O(|T| + |P|) space.","PeriodicalId":315132,"journal":{"name":"2010 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CYBERC.2010.60","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

We consider the following tree-matching problem: Given labeled, ordered trees P and T, can P be obtained from T by deleting nodes? Deleting a node v entails removing all edges incident to v and, if v has a parent u, replacing the edges from u to v by edges from u to the children of v. This problem has a lot of applications in the computer engineering, such as XML tree pattern query evaluation, video content-based retrieval, as well as in computational biology, and data mining. The best known algorithm for this problem needs O(|T|Þ|leaves(P)|) time and O(|leaves(P)|Þmin{DT, |leaves(T)|} + |T| + |P|) space, where leaves(T) (resp. leaves(P)) stands for the number of the leaves of T (resp. P), and DT (resp. DP) for the height of T (resp. P). In this paper, we present a new algorithm that requires O(|T|Þmin{DP, |leaves(P)|}) time and O(|T| + |P|) space.
一种新的自顶向下的树包含算法
我们考虑以下的树匹配问题:给定标记有序树P和T,是否可以通过删除节点从T得到P ?删除节点v需要删除与v相关的所有边,如果v有父节点u,则用从u到v的子节点的边来替换从u到v的边。这个问题在计算机工程中有很多应用,例如XML树模式查询评估,基于视频内容的检索,以及计算生物学和数据挖掘。解决这个问题最著名的算法需要O(|T|Þ|leaves(P)|)时间和O(|leaves(P)|Þmin{DT, |leaves(T)|} + |T| + |P|)空间。叶子(P))表示T (resp)的叶子个数。P)和DT (P。p)表示T的高度(p。在本文中,我们提出了一个新的算法,该算法需要O(|T|Þmin{DP, |leaves(P)|})时间和O(|T| + |P|)空间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信