Abstract
Given two permutations π and σ, the NP-complete Permutation Pattern problem is to decide whether π contains σ as a pattern. In case both π and σ are 321-avoiding, we prove the Permutation Pattern problem to be solvable in O(k 2 n 6) time, where k = |σ| and n = |π|, and give a \(O(kn^{4\sqrt{k}+12})\) time algorithm if only σ is 321-avoiding. Finally, we show W[1]-hardness of a 2-colored version of this latter problem.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Ahal, S., Rabinovich, Y.: On Complexity of the Subpattern Problem. SIAM Journal on Discrete Mathematics 22(2), 629–649 (2008)
Albert, M.H., Aldred, R.E.L., Atkinson, M.D., Holton, D.A.: Algorithms for Pattern involvement in Permutations. In: Eades, P., Takaoka, T. (eds.) ISAAC 2001. LNCS, vol. 2223, pp. 355–366. Springer, Heidelberg (2001)
Bona, M.: Combinatorics of permutations. Discrete Mathematics and Its Applications. Chapman-Hall, CRC Press, Boca Raton (2004)
Bose, P., Buss, J.F., Lubiw, A.: Pattern Matching for Permutations. Information Processing Letters 65(5), 277–283 (1998)
Chen, J., Chor, B., Fellows, M., Huang, X., Juedes, D., Kanj, I., Xia, G.: Tight lower bounds for certain parameterized NP-hard problems. In: Proceedings of 19th Annual IEEE Conference on Computational Complexity (CCC), pp. 150–160 (2004)
Guillemot, S.: Parameterized complexity and approximability of the SLCS problem. In: Grohe, M., Niedermeier, R. (eds.) IWPEC 2008. LNCS, vol. 5018, pp. 115–128. Springer, Heidelberg (2008)
Hunt, J., Szymanski, T.: A fast algorithm for computing longest common subsequences. Communications of the ACM 20, 350–353 (1977)
Knuth, D.E.: Fundamental Algorithms, The Art of Computer Programming, 2nd edn., vol. 1. Addison-Wesley, Reading (1973)
Knuth, D.E.: Sorting and Searching. The Art of Computer Programming, 2nd edn., vol. 3. Addison-Wesley, Reading (1998)
Marcus, A., Tardos, G.: Excluded permutation matrices and the Stanley-Wilf conjecture. Journal of Combinatorial Series A 107(1), 153–160 (2004)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Guillemot, S., Vialette, S. (2009). Pattern Matching for 321-Avoiding Permutations. In: Dong, Y., Du, DZ., Ibarra, O. (eds) Algorithms and Computation. ISAAC 2009. Lecture Notes in Computer Science, vol 5878. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-10631-6_107
Download citation
DOI: https://doi.org/10.1007/978-3-642-10631-6_107
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-10630-9
Online ISBN: 978-3-642-10631-6
eBook Packages: Computer ScienceComputer Science (R0)