Block Palindromes: A New Generalization of Palindromes

06/01/2018
by   Keisuke Goto, et al.
0

We propose a new generalization of palindromes and gapped palindromes called block palindromes. A block palindrome is a string 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 a maximal 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 string T in O(|T| + MBP(T)) time, where MBP(T) is the output size, which is optimal unless all the maximal block palindromes can be represented in a more compact way.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/08/2022

Computing palindromes on a trie in linear time

A trie 𝒯 is a rooted tree such that each edge is labeled by a single cha...
research
04/29/2021

Parameterized String Equations

We study systems of String Equations where block variables need to be as...
research
09/01/2022

Maximal Closed Substrings

A string is closed if it has length 1 or has a nonempty border without i...
research
05/01/2021

Generative Art Using Neural Visual Grammars and Dual Encoders

Whilst there are perhaps only a few scientific methods, there seem to be...
research
04/03/2020

Enumeration of LCP values, LCP intervals and Maximal repeats in BWT-runs Bounded Space

Lcp-values, lcp-intervals, and maximal repeats are powerful tools in var...
research
10/07/2019

Diamond Subgraphs in the Reduction Graph of a One-Rule String Rewriting System

In this paper, we study a certain case of a subgraph isomorphism problem...
research
10/05/2022

Computing maximal generalized palindromes

Palindromes are popular and important objects in textual data processing...

Please sign up or login with your details

Forgot password? Click here to reset