Block Palindromes: A New Generalization of Palindromes
Block Palindromes: A New Generalization of Palindromes
复制标题
块回文:回文的新推广
DOI:
10.1007/978-3-030-00479-8_15
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Shunsuke Inenaga
中科院分区:
文献类型:
--
作者:
Keisuke Goto;Tomohiro I;Hideo Bannai;Shunsuke Inenaga
We study a new generalization of palindromes and gapped palindromes calledblock palindromes. A block palindrome is a string that becomes a palindrome when identical substrings are replaced with a distinct character. We investigate several properties of block palindromes and in particular, study substrings of a string which are block palindromes. In so doing, we introduce the notion of amaximal block palindrome, which leads to a compact representation of all block palindromes that occur in a string. We also propose an algorithm which enumerates all maximal block palindromes that appear in a given stringintime, whereis the output size, which is optimal unless all the maximal block palindromes can be represented in a more compact way.