Advertisement

Exact and Heuristic Approaches for the Longest Common Palindromic Subsequence Problem

  • Marko Djukanovic
  • Günther R. Raidl
  • Christian Blum
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11353)

Abstract

The longest common palindromic subsequence (LCPS) problem requires to find a longest palindromic string that appears as subsequence in each string from a given set of input strings. The algorithms that can be found in the related literature are specific for LCPS problems with only two input strings. In contrast, in this work we consider the general case with an arbitrary number of input strings, which is NP-hard. To solve this problem we propose a fast greedy heuristic, a beam search, and an exact A\(^*\) algorithm. Moreover, A\(^*\) is extended by a simple diving mechanism as well as a combination with beam search in order to find good quality solutions already early in the search process. The most important findings that result from the experimental evaluation include that (1) A\(^*\) is able to efficiently find proven optimal solutions for smaller problem instances, (2) the anytime behavior of A\(^*\) can be significantly improved by incorporating diving or beam search, and (3) beam search is best from a purely heuristic perspective.

Keywords

Longest common palindromic subsequence problem A\(^*\) search Beam search Hybrid optimization techniques 

Notes

Acknowledgments

We gratefully acknowledge the financial support of this project by the Doctoral Program “Vienna Graduate School on Computational Optimization” funded by the Austrian Science Foundation (FWF) under contract no. W1260-N35.

References

  1. 1.
    Bergroth, L., Hakonen, H., Raita, T.: A survey of longest common subsequence algorithms. In: Proceedings of SPIRE 2000–7th International Symposium on String Processing and Information Retrieval, pp. 39–48. IEEE press (2000).  https://doi.org/10.1109/SPIRE.2000.878178
  2. 2.
    Blum, C., Blesa, M.J., López-Ibáñez, M.: Beam search for the longest common subsequence problem. Comput. Oper. Res. 36(12), 3178–3186 (2009)Google Scholar
  3. 3.
    Blum, C., Festa, P.: Longest common subsequence problems. In: Metaheuristics for String Problems in Bioinformatics, Chap. 3, pp. 45–60. Wiley (2016)Google Scholar
  4. 4.
    Blum, C., Raidl, G.R.: Hybrid Metaheuristics: Powerful Tools for Optimization. Springer (2016)Google Scholar
  5. 5.
    Bonizzoni, P., Della Vedova, G., Mauri, G.: Experimenting an approximation algorithm for the LCS. Discret. Appl. Math. 110(1), 13–24 (2001)MathSciNetCrossRefGoogle Scholar
  6. 6.
    Brisk, P., Kaplan, A., Sarrafzadeh, M.: Area-efficient instruction set synthesis for reconfigurable system-on-chip design, pp. 395–400. IEEE Press (2004)Google Scholar
  7. 7.
    Choi, C.Q.: DNA palindromes found in cancer. Genome Biol. 6, 1–3 (2005). https://doi.org/10.1186/gb-spotlight-20050216-01
  8. 8.
    Chowdhury, S.R., Hasan, M.M., Iqbal, S., Rahman, M.S.: Computing a longest common palindromic subsequence. Fund. Inf. 129(4), 329–340 (2014).  https://doi.org/10.3233/FI-2014-974MathSciNetCrossRefzbMATHGoogle Scholar
  9. 9.
    Fraser, C.B.: Subsequences and Supersequences of Strings. Ph.D. thesis, University of Glasgow, Glasgow, UK (1995)Google Scholar
  10. 10.
    Giel-Pietraszuk, M., Hoffmann, M., Dolecka, S., Rychlewski, J., Barciszewski, J.: Palindromes in proteins. J. Protein Chem. 22(2), 109–113 (2003)CrossRefGoogle Scholar
  11. 11.
    Gusfield, D.: Algorithms on Strings, Trees, and Sequences. Computer Science and Computational Biology. Cambridge University Press, Cambridge (1997)Google Scholar
  12. 12.
    Hart, P., Nilsson, N., Raphael, B.: A formal basis for the heuristic determination of minimum cost paths. IEEE Trans. Syst. Sci. Cybern. 4(2), 100–107 (1968)CrossRefGoogle Scholar
  13. 13.
    Hasan, M.M., Sohidull Islam, A.S.M., Sohel Rahman, M., Sen, A.: Palindromic subsequence automata and longest common palindromic subsequence. Math. Comput. Sci. 11, 219–232 (2017). http://link.springer.com/10.1007/s11786-016-0288-7
  14. 14.
    Huang, K., Yang, C., Tseng, K.: Fast algorithms for finding the common subsequences of multiple sequences. In: Proceedings of the IEEE International Computer Symposium, pp. 1006–1011. IEEE Press (2004)Google Scholar
  15. 15.
    Inenaga, S., Hyyrö, H.: A hardness result and new algorithm for the longest common palindromic subsequence problem. Inf. Process. Lett. 129(supplement C), 11–15 (2018)Google Scholar
  16. 16.
    Jiang, T., Lin, G., Ma, B., Zhang, K.: A general edit distance between RNA structures. J. Comput. Biol. 9(2), 371–388 (2002)CrossRefGoogle Scholar
  17. 17.
    Larionov, S., Loskutov, A., Ryadchenko, E.: Chromosome evolution with naked eye: palindromic context of the life origin. Chaos: Interdiscip. J. Nonlinear Sci. 18(1) (2008)Google Scholar
  18. 18.
    Maier, D.: The complexity of some problems on subsequences and supersequences. J. ACM 25(2), 322–336 (1978)MathSciNetCrossRefGoogle Scholar
  19. 19.
    Masek, W.J., Paterson, M.S.: A faster computing string edit distances. Theor. Comput. Syst. Sci. 20, 18–31 (1980)MathSciNetCrossRefGoogle Scholar
  20. 20.
    Mousavi, S.R., Tabataba, F.: An improved algorithm for the longest common subsequence problem. Comput. Oper. Res. 39(3), 512–520 (2012)MathSciNetCrossRefGoogle Scholar
  21. 21.
    Ow, P.S., Morton, T.E.: Filtered beam search in scheduling. Int. J. Prod. Res. 26, 297–307 (1988)CrossRefGoogle Scholar
  22. 22.
    Storer, J.: Data Compression: Methods and Theory. Computer Science Press (1988)Google Scholar
  23. 23.
    Tanaka, H., Bergstrom, D.A., Yao, M.C., Tapscott, S.J.: Large DNA palindromes as a common form of structural chromosome aberrations in human cancers. Human Cell 19(1), 17–23 (2006)CrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  • Marko Djukanovic
    • 1
  • Günther R. Raidl
    • 1
  • Christian Blum
    • 2
  1. 1.Institute of Logic and ComputationTU WienViennaAustria
  2. 2.Artificial Intelligence Research Institute (IIIA-CSIC)Campus UABBellaterraSpain

Personalised recommendations