Binary Jumbled Pattern Matching on Trees and Tree-Like Structures
Travis Gagie, Danny Hermelin, Gad M. Landau, Oren Weimann

TL;DR
This paper presents efficient algorithms for binary jumbled pattern matching on trees and compressed strings, and proves the problem is fixed-parameter tractable with respect to treewidth, advancing the state of the art in pattern matching.
Contribution
It introduces new algorithms with improved time bounds for trees and compressed strings, and establishes fixed-parameter tractability based on treewidth.
Findings
O(n^2 / log^2 n) time for trees
Improved bounds for grammar-compressed strings
Fixed-parameter tractability with respect to treewidth
Abstract
Binary jumbled pattern matching asks to preprocess a binary string in order to answer queries which ask for a substring of that is of length and has exactly 1-bits. This problem naturally generalizes to vertex-labeled trees and graphs by replacing "substring" with "connected subgraph". In this paper, we give an -time solution for trees, matching the currently best bound for (the simpler problem of) strings. We also give an -time solution for strings that are compressed by a grammar of size . 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 of the graph, thus improving the previous best algorithm [ICALP'07].
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Network Packet Processing and Optimization · DNA and Biological Computing
