Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1301.6127

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Data Structures and Algorithms

arXiv:1301.6127 (cs)
[Submitted on 25 Jan 2013 (v1), last revised 28 Jun 2014 (this version, v3)]

Title:Binary Jumbled Pattern Matching on Trees and Tree-Like Structures

Authors:Travis Gagie, Danny Hermelin, Gad M. Landau, Oren Weimann
View a PDF of the paper titled Binary Jumbled Pattern Matching on Trees and Tree-Like Structures, by Travis Gagie and Danny Hermelin and Gad M. Landau and Oren Weimann
View PDF
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(n^2 / \log^2 n)$-time solution for trees, matching the currently best bound for (the simpler problem of) strings. We also give an $\Oh{g^{2 / 3} n^{4 / 3}/(\log n)^{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 $n^{O(w)}$ algorithm [ICALP'07].
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:1301.6127 [cs.DS]
  (or arXiv:1301.6127v3 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.1301.6127
arXiv-issued DOI via DataCite

Submission history

From: Oren Weimann [view email]
[v1] Fri, 25 Jan 2013 19:06:06 UTC (62 KB)
[v2] Fri, 19 Apr 2013 22:22:50 UTC (63 KB)
[v3] Sat, 28 Jun 2014 12:24:53 UTC (141 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Binary Jumbled Pattern Matching on Trees and Tree-Like Structures, by Travis Gagie and Danny Hermelin and Gad M. Landau and Oren Weimann
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.DS
< prev   |   next >
new | recent | 2013-01
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Travis Gagie
Danny Hermelin
Gad M. Landau
Oren Weimann
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack