Parity Permutation Pattern Matching

IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Algorithmica Pub Date : 2024-05-22 DOI:10.1007/s00453-024-01237-0
Virginia Ardévol Martínez, Florian Sikora, Stéphane Vialette
{"title":"Parity Permutation Pattern Matching","authors":"Virginia Ardévol Martínez,&nbsp;Florian Sikora,&nbsp;Stéphane Vialette","doi":"10.1007/s00453-024-01237-0","DOIUrl":null,"url":null,"abstract":"<div><p>Given two permutations, a pattern <span>\\(\\sigma \\)</span> and a text <span>\\(\\pi \\)</span>, <span>Parity Permutation Pattern Matching</span> asks whether there exists a parity and order preserving embedding of <span>\\(\\sigma \\)</span> into <span>\\(\\pi \\)</span>. While it is known that <span>Permutation Pattern Matching</span> is in <span>\\(\\textsc {FPT}\\)</span>, we show that adding the parity constraint to the problem makes it <span>\\(\\textsc {W}[1]\\)</span>-hard, even for alternating permutations or for 4321-avoiding patterns. However, the problem remains in <span>\\(\\textsc {FPT}\\)</span> if <span>\\(\\pi \\)</span> avoids a fixed permutation, thanks to a recent meta-theorem on twin-width. On the other hand, as for the classical version, <span>Parity Permutation Pattern Matching</span> remains polynomial-time solvable when the pattern is separable, or if both permutations are 321-avoiding, but <span>NP</span>-hard if <span>\\(\\sigma \\)</span> is 321-avoiding and <span>\\(\\pi \\)</span> is 4321-avoiding.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 8","pages":"2605 - 2624"},"PeriodicalIF":0.9000,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Algorithmica","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s00453-024-01237-0","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Given two permutations, a pattern \(\sigma \) and a text \(\pi \), Parity Permutation Pattern Matching asks whether there exists a parity and order preserving embedding of \(\sigma \) into \(\pi \). While it is known that Permutation Pattern Matching is in \(\textsc {FPT}\), we show that adding the parity constraint to the problem makes it \(\textsc {W}[1]\)-hard, even for alternating permutations or for 4321-avoiding patterns. However, the problem remains in \(\textsc {FPT}\) if \(\pi \) avoids a fixed permutation, thanks to a recent meta-theorem on twin-width. On the other hand, as for the classical version, Parity Permutation Pattern Matching remains polynomial-time solvable when the pattern is separable, or if both permutations are 321-avoiding, but NP-hard if \(\sigma \) is 321-avoiding and \(\pi \) is 4321-avoiding.

Abstract Image

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
奇偶校验模式匹配
给定两种排列,一种是模式(pattern \sigma \),另一种是文本(text \pi \),奇偶性排列模式匹配(Parity Permutation Pattern Matching)询问是否存在奇偶性和秩保存的将(\sigma \)嵌入到(\pi \)中。虽然我们知道排列组合模式匹配是在(textsc {FPT}\)中的,但我们证明在这个问题中加入奇偶性约束会使(textsc {W}[1]\)这个问题变得很困难,甚至对于交替排列组合或4321-avoiding模式也是如此。然而,如果(\pi \)避免了一个固定的排列组合,那么这个问题仍然是(\textsc {FPT}\)困难的,这要归功于最近一个关于孪生宽度的元定理。另一方面,与经典版本一样,当模式是可分离的,或者两种排列都是 321 避开的时候,奇偶性排列模式匹配仍然是多项式时间可解的,但是如果 \(\sigma \) 是 321 避开的,而 \(\pi \) 是 4321 避开的,那么这个问题就是 NP 难的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Algorithmica
Algorithmica 工程技术-计算机:软件工程
CiteScore
2.80
自引率
9.10%
发文量
158
审稿时长
12 months
期刊介绍: Algorithmica is an international journal which publishes theoretical papers on algorithms that address problems arising in practical areas, and experimental papers of general appeal for practical importance or techniques. The development of algorithms is an integral part of computer science. The increasing complexity and scope of computer applications makes the design of efficient algorithms essential. Algorithmica covers algorithms in applied areas such as: VLSI, distributed computing, parallel processing, automated design, robotics, graphics, data base design, software tools, as well as algorithms in fundamental areas such as sorting, searching, data structures, computational geometry, and linear programming. In addition, the journal features two special sections: Application Experience, presenting findings obtained from applications of theoretical results to practical situations, and Problems, offering short papers presenting problems on selected topics of computer science.
期刊最新文献
Energy Constrained Depth First Search Recovering the Original Simplicity: Succinct and Exact Quantum Algorithm for the Welded Tree Problem Permutation-constrained Common String Partitions with Applications Reachability of Fair Allocations via Sequential Exchanges On Flipping the Fréchet Distance
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1