首页> 外文会议>Combinatorial Pattern Matching >Constrained Tree Inclusion
【24h】

Constrained Tree Inclusion

机译:约束树包含

获取原文

摘要

The tree matching problem is considered of given labeled trees P and T, determining if the pattern tree P can be obtained from the text tree T by deleting degree-one and degree-two nodes and, in the case of unordered trees, by also permuting siblings. The constrained tree inclusion problem is more sensitive to the structure of the pattern tree than the general tree inclusion problem. Further, it can be solved in polynomial time for both unordered and ordered trees. Algorithms based on the subtree homeomorphism algorithm of (Chung, 1987) are presented that solve the constrained tree inclusion problem in O(m~(1.5) n) time on unordered trees with m and n nodes, and in O(mn) time on ordered trees, using O(mn) additional space. These algorithms can be improved using results of (Shamir and Tsur, 1999) to run in O((m~(1.5)/ log m)n) and O((m/ log m)n) time, respectively.
机译:考虑给定标记树P和T的树匹配问题,确定是否可以通过删除一级节点和二级节点,以及在无序树的情况下通过置换来从文本树T中获得模式树P兄弟姐妹。约束树包含问题比一般树包含问题对模式树的结构更敏感。此外,对于无序树和有序树,都可以在多项式时间内求解。提出了基于(Chung,1987)的子树同胚算法的算法,该算法解决了具有m和n节点的无序树在O(m〜(1.5)n)时和O(mn)时在O(m〜(1.5)n)时的约束树包含问题。有序树,使用O(mn)额外空间。可以使用(Shamir and Tsur,1999)的结果分别在O((m〜(1.5)/ log m)n)和O((m / log m)n)的时间运行来改进这些算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号