Flexible and Efficient Algorithms for Abelian Matching in Strings

03/07/2018
by   Simone Faro, et al.
0

The abelian pattern matching problem consists in finding all substrings of a text which are permutations of a given pattern. This problem finds application in many areas and can be solved in linear time by a naive sliding window approach. In this short communication we present a new class of algorithms based on a new efficient fingerprint computation approach, called Heap-Counting, which turns out to be fast, flexible and easy to be implemented. It can be proved that our solutions have a linear worst case time complexity and, in addition, we present an extensive experimental evaluation which shows that our newly presented algorithms are among the most efficient and flexible solutions in practice for the abelian matching problem in strings.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/01/2019

Linear-size Suffix Tries for Parameterized Strings

In this paper, we propose a new indexing structure for parameterized str...
research
05/22/2019

Cartesian Tree Matching and Indexing

We introduce a new metric of match, called Cartesian tree matching, whic...
research
08/14/2019

Fast Cartesian Tree Matching

Cartesian tree matching is the problem of finding all substrings of a gi...
research
08/16/2019

Efficient Online String Matching Based on Characters Distance Text Sampling

Searching for all occurrences of a pattern in a text is a fundamental pr...
research
10/26/2021

Linear Approximate Pattern Matching Algorithm

Pattern matching is a fundamental process in almost every scientific dom...
research
08/23/2021

On Specialization of a Program Model of Naive Pattern Matching in Strings (Extended Abstract)

We have proved that for any pattern p the tail recursive program model o...
research
05/17/2019

The TrieJax Architecture: Accelerating Graph Operations Through Relational Joins

Graph pattern matching (e.g., finding all cycles and cliques) has become...

Please sign up or login with your details

Forgot password? Click here to reset