最重诱导祖先和最长公共子串
Heaviest Induced Ancestors and Longest Common Substrings
摘要:
假设我们有两棵树在同一组叶子上,其中节点的权重使得孩子比他们的父母更重。我们说第一棵树的一个节点和第二棵树的一个节点被归纳在一起,如果它们有一个共同的叶子后代。在本文中,我们描述的数据结构,有效地支持以下最短的诱导祖先查询:给定一个节点从第一棵树和一个节点从第二棵树,找到一个诱导对他们的祖先最大的组合权重。我们的解决方案是基于几何解释,使我们能够找到最重的诱导祖先使用范围查询。然后,我们将展示如何使用这些结果来构建一个LZ压缩索引,我们可以快速找到一个最长的子串共同的索引字符串和一个给定的模式的概率很高。
英文摘要:
Suppose we have two trees on the same set of leaves, in which nodes are weighted such that children are heavier than their parents. We say a node from the first tree and a node from the second tree are induced together if they have a common leaf descendant. In this paper we describe data structures that efficiently support the following heaviest-induced-ancestor query: given a node from the first tree and a node from the second tree, find an induced pair of their ancestors with maximum combined weight. Our solutions are based on a geometric interpretation that enables us to find heaviest induced ancestors using range queries. We then show how to use these results to build an LZ-compressed index with which we can quickly find with high probability a longest substring common to the indexed string and a given pattern.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。