A simple grammar-based index for finding approximately longest common substrings.

Travis Gagie, Sana Kashgouli, Gonzalo Navarro
{"title":"A simple grammar-based index for finding approximately longest common substrings.","authors":"Travis Gagie, Sana Kashgouli, Gonzalo Navarro","doi":"10.1007/978-3-031-43980-3_19","DOIUrl":null,"url":null,"abstract":"<p><p>We show how, given positive constants <math><mi>ϵ</mi></math> and <math><mi>δ</mi></math> , and an <math><mi>α</mi></math> -balanced straight-line program with <math><mi>g</mi></math> rules for a text <math><mi>T</mi> <mo>[</mo> <mn>1</mn> <mo>.</mo> <mo>.</mo> <mi>n</mi> <mo>]</mo></math> , we can build an <math><mi>O</mi> <mo>(</mo> <mi>g</mi> <mo>)</mo></math> -space index that, given a pattern <math><mi>P</mi> <mo>[</mo> <mn>1</mn> <mo>.</mo> <mo>.</mo> <mi>m</mi> <mo>]</mo></math> , in <math><mi>O</mi> <mfenced><mrow><mi>m</mi> <mspace></mspace> <msup><mrow><mtext>log</mtext></mrow> <mrow><mi>δ</mi></mrow> </msup> <mspace></mspace> <mi>g</mi></mrow> </mfenced> </math> time finds w.h.p. a substring of <math><mi>P</mi></math> that occurs in <math><mi>T</mi></math> and whose length is at least a ( <math><mn>1</mn> <mo>-</mo> <mi>ϵ</mi></math> ) fraction of the longest common substring of <math><mi>P</mi></math> and <math><mi>T</mi></math> . The correctness can be ensured within the same expected query time.</p>","PeriodicalId":520001,"journal":{"name":"International Symposium on String Processing and Information Retrieval : SPIRE ... : proceedings. SPIRE (Symposium)","volume":"14240 ","pages":"246-252"},"PeriodicalIF":0.0000,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12700360/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Symposium on String Processing and Information Retrieval : SPIRE ... : proceedings. SPIRE (Symposium)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1007/978-3-031-43980-3_19","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2023/9/20 0:00:00","PubModel":"Epub","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We show how, given positive constants ϵ and δ , and an α -balanced straight-line program with g rules for a text T [ 1 . . n ] , we can build an O ( g ) -space index that, given a pattern P [ 1 . . m ] , in O m log δ g time finds w.h.p. a substring of P that occurs in T and whose length is at least a ( 1 - ϵ ) fraction of the longest common substring of P and T . The correctness can be ensured within the same expected query time.

一个简单的基于语法的索引,用于查找大约最长的公共子字符串。
我们展示了如何,给定正常数λ和δ,以及文本T[1]的具有g规则的α平衡直线程序。n],我们可以建立一个O (g)空间索引,给定一个模式P[1 .]。m],在O m log δ g时间内找到w.h.p. P的子串,该子串出现在T中,其长度至少是P和T最长公共子串的(1 - λ)分数。可以在相同的预期查询时间内确保正确性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书