{"title":"排列的广义着色","authors":"Vít Jelínek, Michal Opler, Pavel Valtr","doi":"10.1007/s00453-024-01220-9","DOIUrl":null,"url":null,"abstract":"<div><p>A permutation <span>\\(\\pi \\)</span> is a <i>merge</i> of a permutation <span>\\(\\sigma \\)</span> and a permutation <span>\\(\\tau \\)</span>, if we can color the elements of <span>\\(\\pi \\)</span> red and blue so that the red elements have the same relative order as <span>\\(\\sigma \\)</span> and the blue ones as <span>\\(\\tau \\)</span>. We consider, for fixed hereditary permutation classes <span>\\(\\mathcal {C}\\)</span> and <span>\\(\\mathcal {D}\\)</span>, the complexity of determining whether a given permutation <span>\\(\\pi \\)</span> is a merge of an element of <span>\\(\\mathcal {C}\\)</span> with an element of <span>\\(\\mathcal {D}\\)</span>. We develop general algorithmic approaches for identifying polynomially tractable cases of merge recognition. Our tools include a version of streaming recognizability of permutations via polynomially constructible nondeterministic automata, as well as a concept of bounded width decomposition, inspired by the work of Ahal and Rabinovich. As a consequence of the general results, we can provide nontrivial examples of tractable permutation merges involving commonly studied permutation classes, such as the class of layered permutations, the class of separable permutations, or the class of permutations avoiding a decreasing sequence of a given length. On the negative side, we obtain a general hardness result which implies, for example, that it is NP-complete to recognize the permutations that can be merged from two subpermutations avoiding the pattern 2413.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 7","pages":"2174 - 2210"},"PeriodicalIF":0.9000,"publicationDate":"2024-03-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Generalized Coloring of Permutations\",\"authors\":\"Vít Jelínek, Michal Opler, Pavel Valtr\",\"doi\":\"10.1007/s00453-024-01220-9\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>A permutation <span>\\\\(\\\\pi \\\\)</span> is a <i>merge</i> of a permutation <span>\\\\(\\\\sigma \\\\)</span> and a permutation <span>\\\\(\\\\tau \\\\)</span>, if we can color the elements of <span>\\\\(\\\\pi \\\\)</span> red and blue so that the red elements have the same relative order as <span>\\\\(\\\\sigma \\\\)</span> and the blue ones as <span>\\\\(\\\\tau \\\\)</span>. We consider, for fixed hereditary permutation classes <span>\\\\(\\\\mathcal {C}\\\\)</span> and <span>\\\\(\\\\mathcal {D}\\\\)</span>, the complexity of determining whether a given permutation <span>\\\\(\\\\pi \\\\)</span> is a merge of an element of <span>\\\\(\\\\mathcal {C}\\\\)</span> with an element of <span>\\\\(\\\\mathcal {D}\\\\)</span>. We develop general algorithmic approaches for identifying polynomially tractable cases of merge recognition. Our tools include a version of streaming recognizability of permutations via polynomially constructible nondeterministic automata, as well as a concept of bounded width decomposition, inspired by the work of Ahal and Rabinovich. As a consequence of the general results, we can provide nontrivial examples of tractable permutation merges involving commonly studied permutation classes, such as the class of layered permutations, the class of separable permutations, or the class of permutations avoiding a decreasing sequence of a given length. On the negative side, we obtain a general hardness result which implies, for example, that it is NP-complete to recognize the permutations that can be merged from two subpermutations avoiding the pattern 2413.</p></div>\",\"PeriodicalId\":50824,\"journal\":{\"name\":\"Algorithmica\",\"volume\":\"86 7\",\"pages\":\"2174 - 2210\"},\"PeriodicalIF\":0.9000,\"publicationDate\":\"2024-03-29\",\"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-01220-9\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"COMPUTER SCIENCE, SOFTWARE ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Algorithmica","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s00453-024-01220-9","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
A permutation \(\pi \) is a merge of a permutation \(\sigma \) and a permutation \(\tau \), if we can color the elements of \(\pi \) red and blue so that the red elements have the same relative order as \(\sigma \) and the blue ones as \(\tau \). We consider, for fixed hereditary permutation classes \(\mathcal {C}\) and \(\mathcal {D}\), the complexity of determining whether a given permutation \(\pi \) is a merge of an element of \(\mathcal {C}\) with an element of \(\mathcal {D}\). We develop general algorithmic approaches for identifying polynomially tractable cases of merge recognition. Our tools include a version of streaming recognizability of permutations via polynomially constructible nondeterministic automata, as well as a concept of bounded width decomposition, inspired by the work of Ahal and Rabinovich. As a consequence of the general results, we can provide nontrivial examples of tractable permutation merges involving commonly studied permutation classes, such as the class of layered permutations, the class of separable permutations, or the class of permutations avoiding a decreasing sequence of a given length. On the negative side, we obtain a general hardness result which implies, for example, that it is NP-complete to recognize the permutations that can be merged from two subpermutations avoiding the pattern 2413.
期刊介绍:
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.