Binary jumbled pattern matching on trees and tree-like structures

From MaRDI portal
Publication:893318

DOI10.1007/S00453-014-9957-6zbMATH Open1330.68358arXiv1301.6127OpenAlexW2124531545MaRDI QIDQ893318FDOQ893318


Authors: Travis Gagie, Danny Hermelin, Gad M. Landau, Oren Weimann Edit this on Wikidata


Publication date: 19 November 2015

Published in: Algorithmica (Search for Journal in Brave)

Abstract: Binary jumbled pattern matching asks to preprocess a binary string S in order to answer queries (i,j) which ask for a substring of S that is of length i and has exactly j 1-bits. This problem naturally generalizes to vertex-labeled trees and graphs by replacing "substring" with "connected subgraph". In this paper, we give an O(n2/log2n)-time solution for trees, matching the currently best bound for (the simpler problem of) strings. We also give an Ohg2/3n4/3/(logn)4/3-time solution for strings that are compressed by a grammar of size g. This solution improves the known bounds when the string is compressible under many popular compression schemes. Finally, we prove that the problem is fixed-parameter tractable with respect to the treewidth w of the graph, thus improving the previous best nO(w) algorithm [ICALP'07].


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




Recommendations




Cites Work


Cited In (9)





This page was built for publication: Binary jumbled pattern matching on trees and tree-like structures

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