On the Complexity of Exact Pattern Matching in Graphs: Determinism and Zig-Zag Matching
Massimo Equi, Roberto Grossi, Alexandru I. Tomescu, Veli M\"akinen

TL;DR
This paper establishes that exact pattern matching in certain restricted classes of graphs remains computationally hard, even with deterministic and zig-zag structures, under widely accepted complexity hypotheses.
Contribution
It proves that the quadratic time lower bound applies to deterministic and zig-zag graph structures, extending previous results under the OV hypothesis.
Findings
Lower bound holds for undirected degree-two graphs
Determinism does not simplify the problem
Zig-zag pattern matching remains hard
Abstract
Exact pattern matching in labeled graphs is the problem of searching paths of a graph that spell the same string as the given pattern . This basic problem can be found at the heart of more complex operations on variation graphs in computational biology, query operations in graph databases, and analysis of heterogeneous networks, where the nodes of some paths must match a sequence of labels or types. In our recent work we described a conditional lower bound stating that the exact pattern matching problem in labeled graphs cannot be solved in less than quadratic time, namely, time or time for any constant , unless the Strong Exponential Time Hypothesis (SETH) is false. The result holds even if node labels and pattern are drawn from a binary alphabet, and is restricted to undirected graphs of…
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 · DNA and Biological Computing · Genome Rearrangement Algorithms
