首页> 外文会议>International Workshop on Combinatorial Algorithms >Shortest Unique Palindromic Substring Queries on Run-Length Encoded Strings
【24h】

Shortest Unique Palindromic Substring Queries on Run-Length Encoded Strings

机译:游程编码字符串上最短的唯一回文子字符串查询

获取原文

摘要

For a string S, a palindromic substring S[i..j] is said to be a shortest unique palindromic substring (SUPS) for an interval [s, t] in S, if S[i..j] occurs exactly once in S, the interval [i, j] contains [s, t], and every palindromic substring containing [s, t] which is shorter than S[i..j] occurs at least twice in S. In this paper, we study the problem of answering SUPS queries on run-length encoded strings. We show how to preprocess a given run-length encoded string RLEs of size m in O(m) space and O(m log σ_(RLE_S) + m (log m/ log log m)~(1/2)) time so that all SUPSs for any subsequent query interval can be answered in O((log m/ log log m)~(1/2) + α) time, where a is the number of outputs, and σ_(RLE_S) is the number of distinct runs of RLE_S.
机译:对于字符串S,如果S [i..j]恰好出现一次,则回文子串S [i..j]被认为是S中间隔[s,t]的最短唯一回文子串(SUPS)。 S,间隔[i,j]包含[s,t],并且每个包含[s,t]的回文子串都比S [i..j]短,至少在S中出现两次。在本文中,我们研究在游程长度编码的字符串上回答SUPS查询的问题。我们展示了如何在O(m)空间和O(m logσ_(RLE_S)+ m(log m / log log m)〜(1/2))时间中预处理大小为m的给定游程长度编码字符串RLE,因此可以在O((log m / log log m)〜(1/2)+α)的时间内回答所有后续查询间隔的所有SUPS,其中a是输出数,而σ_(RLE_S)是RLE_S的不同运行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号