首页> 外文会议>Computing and combinatorics >On the Right-Seed Array of a String
【24h】

On the Right-Seed Array of a String

机译:在字符串的右种子数组上

获取原文
获取原文并翻译 | 示例

摘要

We consider the problem of finding the repetitive structure of a given fixed string y. A factor u of y is a cover of y, if every letter of y falls within some occurrence of u in y. A factor v of y is a seed of y, if it is a cover of a superstring of y. There exist linear-time algorithms for solving the minimal cover problem. The minimal seed problem is of much higher algorithmic difficulty, and no linear-time algorithm is known. In this article, we solve one of its variants - computing the minimal and maximal right-seed array of a given string. A right seed of y is the shortest suffix of y that it is a cover of a superstring of y. An integer array RS is the minimal right-seed (resp. maximal right-seed) array of y, if RS[i] is the minimal (resp. maximal) length of right seeds of y[0 .. I]. We present an O(nlogn) time algorithm that computes the minimal right-seed array of a given string, and a linear-time solution to compute the maximal right-seed array by detecting border-free prefixes of the given string.
机译:我们考虑找到给定固定字符串y的重复结构的问题。如果y的每个字母都落入y中某个u的出现范围,则y的u因子将覆盖y。 y的因子v是y的种子,如果它是y的超串的覆盖。存在用于解决最小覆盖问题的线性时间算法。最小种子问题具有更高的算法难度,并且没有线性时间算法是已知的。在本文中,我们解决了其变体之一-计算给定字符串的最小和最大右种子数组。 y的正确种子是y的最短后缀,它是y的超字符串的覆盖。如果RS [i]是y [0 .. I]的右种子的最小(最大)长度,则整数数组RS是y的最小右种子(分别为最大右种子)数组。我们提出一种O(nlogn)时间算法,该算法计算给定字符串的最小右种子数组,以及一种线性时间解决方案,通过检测给定字符串的无边界前缀来计算最大右种子数组。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号