首页> 外文会议>International workshop on combinatorial algorithms >An Optimal Algorithm for Computing All Subtree Repeats in Trees
【24h】

An Optimal Algorithm for Computing All Subtree Repeats in Trees

机译:计算树中所有子树重复的最佳算法

获取原文

摘要

Given a labeled tree T, our goal is to group repeating subtrees of T into equivalence classes with respect to their topologies and the node labels. We present an explicit, simple, and time-optimal algorithm for solving this problem for unrooted unordered labeled trees, and show that the running time of our method is linear with respect to the size of T. By unordered, we mean that the order of the adjacent nodes (childreneighbors) of any node of T is irrelevant. An unrooted tree T does not have a node that is designated as root and can also be referred to as an undirected tree. We show how the presented algorithm can easily be modified to operate on trees that do not satisfy some or any of the aforementioned assumptions on the tree structure; for instance, how it can be applied to rooted, ordered or unlabeled trees.
机译:给定一个标记树T,我们的目标是就其拓扑和节点标签将T的重复子树分组为等价类。我们提出了一种显式,简单且时间最优的算法来解决无根无序标记树的问题,并表明我们的方法的运行时间相对于T的大小是线性的。 T的任何节点的相邻节点(子节点/邻居节点)都不相关。无根树T没有指定为根的节点,也可以称为无向树。我们展示了如何轻松地将提出的算法修改为在不满足某些或任何上述树结构假设的树上运行;例如,如何将其应用于有根,有序或未标记的树。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号