New algorithms for binary jumbled pattern matching

From MaRDI portal
Publication:2444765

DOI10.1016/J.IPL.2013.04.013zbMATH Open1284.68698arXiv1210.6176OpenAlexW2023986152MaRDI QIDQ2444765FDOQ2444765


Authors: Emanuele Giaquinta, Szymon Grabowski Edit this on Wikidata


Publication date: 11 April 2014

Published in: Information Processing Letters (Search for Journal in Brave)

Abstract: Given a pattern P and a text T, both strings over a binary alphabet, the binary jumbled string matching problem consists in telling whether any permutation of P occurs in T. The indexed version of this problem, i.e., preprocessing a string to efficiently answer such permutation queries, is hard and has been studied in the last few years. Currently the best bounds for this problem are O(n2/log2n) (with O(n) space and O(1) query time) and O(r2logr) (with O(|L|) space and O(log|L|) query time), where r is the length of the run-length encoding of T and |L|=O(n) is the size of the index. In this paper we present new results for this problem. Our first result is an alternative construction of the index by Badkobeh et al. that obtains a trade-off between the space and the time complexity. It has O(r2logk+n/k) complexity to build the index, O(logk) query time, and uses O(n/k+|L|) space, where k is a parameter. The second result is an O(n2log2w/w) algorithm (with O(n) space and O(1) query time), based on word-level parallelism where w is the word size in bits.


Full work available at URL: https://arxiv.org/abs/1210.6176




Recommendations




Cites Work


Cited In (16)





This page was built for publication: New algorithms for binary jumbled pattern matching

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2444765)