错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Parity Permutation Pattern Matching

  • Virginia Ardévol Martínez,
  • Florian Sikora,
  • Stéphane Vialette

摘要

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}\) FPT , we show that adding the parity constraint to the problem makes it \(\textsc {W}[1]\) W [ 1 ] -hard, even for alternating permutations or for 4321-avoiding patterns. However, the problem remains in \(\textsc {FPT}\) 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.