English

Flexible and Efficient Algorithms for Abelian Matching in Strings

Data Structures and Algorithms 2018-03-08 v1 Information Retrieval

Abstract

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.

Keywords

Cite

@article{arxiv.1803.02807,
  title  = {Flexible and Efficient Algorithms for Abelian Matching in Strings},
  author = {Simone Faro and Arianna Pavone},
  journal= {arXiv preprint arXiv:1803.02807},
  year   = {2018}
}

Comments

This is a short preliminary version of a full paper submitted to an international journal. Most examples, details, lemmas and theorems have been omitted

R2 v1 2026-06-23T00:45:32.270Z