Exact and inexact search for 2d side-sharing tandems

IF 1 4区 计算机科学 Q3 COMPUTER SCIENCE, THEORY & METHODS Theoretical Computer Science Pub Date : 2025-02-12 Epub Date: 2024-11-28 DOI:10.1016/j.tcs.2024.115005
Shoshana Marcus , Dina Sokol , Sarah Zelikovitz
{"title":"Exact and inexact search for 2d side-sharing tandems","authors":"Shoshana Marcus ,&nbsp;Dina Sokol ,&nbsp;Sarah Zelikovitz","doi":"10.1016/j.tcs.2024.115005","DOIUrl":null,"url":null,"abstract":"<div><div>A side-sharing tandem is a rectangular array that is composed of two adjacent non-overlapping occurrences of the same rectangular block. Furthering our understanding of side-sharing tandems can facilitate the development of more efficient 2d pattern matching techniques and may lead to improvements in multi-dimensional compression schemes. Existing algorithms for finding side-sharing tandems are far from optimal on 2d arrays that contain relatively few side-sharing tandems. In this paper, we introduce the idea of a run of side-sharing tandems, as a maximally extended chain of 2d tandems. We demonstrate tight upper bounds on the number of runs of side-sharing tandems that can occur in a rectangular array. We develop an algorithm that locates all <em>τ</em> runs of side-sharing tandems in an <span><math><mi>n</mi><mo>×</mo><mi>n</mi></math></span> input array in <span><math><mi>O</mi><mo>(</mo><mo>(</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>+</mo><mi>τ</mi><mo>)</mo><mi>log</mi><mo>⁡</mo><mi>n</mi><mo>/</mo><mi>log</mi><mo>⁡</mo><mi>log</mi><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span> time. We also introduce several versions of approximate side-sharing tandems with <em>k</em> mismatches along with efficient algorithms for locating them in a rectangular array.</div></div>","PeriodicalId":49438,"journal":{"name":"Theoretical Computer Science","volume":"1026 ","pages":"Article 115005"},"PeriodicalIF":1.0000,"publicationDate":"2025-02-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theoretical Computer Science","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0304397524006224","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2024/11/28 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

A side-sharing tandem is a rectangular array that is composed of two adjacent non-overlapping occurrences of the same rectangular block. Furthering our understanding of side-sharing tandems can facilitate the development of more efficient 2d pattern matching techniques and may lead to improvements in multi-dimensional compression schemes. Existing algorithms for finding side-sharing tandems are far from optimal on 2d arrays that contain relatively few side-sharing tandems. In this paper, we introduce the idea of a run of side-sharing tandems, as a maximally extended chain of 2d tandems. We demonstrate tight upper bounds on the number of runs of side-sharing tandems that can occur in a rectangular array. We develop an algorithm that locates all τ runs of side-sharing tandems in an n×n input array in O((n2+τ)logn/loglogn) time. We also introduce several versions of approximate side-sharing tandems with k mismatches along with efficient algorithms for locating them in a rectangular array.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
精确和不精确搜索2d侧共享串联
侧共享串联是由两个相邻的不重叠的相同矩形块组成的矩形阵列。进一步了解侧共享串联可以促进更有效的二维模式匹配技术的发展,并可能导致多维压缩方案的改进。现有的寻找侧共享序列的算法在包含相对较少的侧共享序列的二维数组上远远不是最优的。在本文中,我们引入了侧共享串联的思想,作为一个最大扩展的二维串联链。我们展示了在矩形阵列中可能出现的侧共享串联的运行次数的严格上界。我们开发了一种算法,该算法在O((n2+τ)log (n) /log (n))时间内定位n×n输入数组中所有侧共享串联的τ运行。我们还介绍了几种具有k个不匹配的近似侧共享串联的版本,以及在矩形阵列中定位它们的有效算法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Theoretical Computer Science
Theoretical Computer Science 工程技术-计算机:理论方法
CiteScore
2.60
自引率
18.20%
发文量
471
审稿时长
12.6 months
期刊介绍: Theoretical Computer Science is mathematical and abstract in spirit, but it derives its motivation from practical and everyday computation. Its aim is to understand the nature of computation and, as a consequence of this understanding, provide more efficient methodologies. All papers introducing or studying mathematical, logic and formal concepts and methods are welcome, provided that their motivation is clearly drawn from the field of computing.
期刊最新文献
On the order of lazy cellular automata Parameterized algorithms and complexity for scheduling with precedence constraints and time windows On the complexity of finding central configurations of the graph-generalized (n2−1)-puzzle An approximation algorithm for the asymmetric profitable tour problem with submodular penalties Online geometric hitting set using points in Zd
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1