Abstract

In this paper we describe compressed indexes that support pattern matching queries for strings with wildcards. For a constant size alphabet our data structure uses O(nlog⁡εn)O(n\log^{\varepsilon}n) bits for any ε>0\varepsilon>0 and reports all occ\mathrm{occ} occurrences of a wildcard string in O(m+σg⋅μ(n)+occ)O(m+σ^g \cdotμ(n) + \mathrm{occ}) time, where μ(n)=o(log⁡log⁡log⁡n)μ(n)=o(\log\log\log n), σσ is the alphabet size, mm is the number of alphabet symbols and gg is the number of wildcard symbols in the query string. We also present an O(n)O(n)-bit index with O((m+σg+occ)log⁡εn)O((m+σ^g+\mathrm{occ})\log^{\varepsilon}n) query time and an O(n(log⁡log⁡n)2)O(n(\log\log n)^2)-bit index with O((m+σg+occ)log⁡log⁡n)O((m+σ^g+\mathrm{occ})\log\log n) query time. These are the first non-trivial data structures for this problem that need o(nlog⁡n)o(n\log n) bits of space.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.