Abstract

We consider the ParameterizedParameterized PatternPattern MatchingMatching problem, where a pattern PP matches some location in a text T\mathsf{T} iff there is a one-to-one correspondence between the alphabet symbols of the pattern to those of the text. More specifically, assume that the text T\mathsf{T} contains nn characters from a static alphabet ΣsΣ_s and a parameterized alphabet ΣpΣ_p, where Σs∩Σp=∅Σ_s \cap Σ_p = \varnothing and ∣Σs∪Σp∣=σ|Σ_s \cup Σ_p|=σ. A pattern PP matches a substring SS of T\mathsf{T} iff the static characters match exactly, and there exists a one-to-one function that renames the parameterized characters in SS to that in PP. Previous indexing solution [Baker, STOC 1993], known as ParameterizedParameterized SuffixSuffix TreeTree, requires Θ(nlog⁡n)Θ(n\log n) bits of space, and can find all occocc occurrences of PP in O(∣P∣log⁡σ+occ)\mathcal{O}(|P|\log σ+ occ) time. In this paper, we present the first succinct index that occupies nlog⁡σ+O(n)n \log σ+ \mathcal{O}(n) bits and answers queries in O((∣P∣+occ⋅log⁡n)log⁡σlog⁡log⁡σ)\mathcal{O}((|P|+ occ\cdot \log n) \logσ\log \log σ) time. We also present a compact index that occupies O(nlog⁡σ)\mathcal{O}(n\logσ) bits and answers queries in O(∣P∣log⁡σ+occ⋅log⁡n)\mathcal{O}(|P|\log σ+ occ\cdot \log n) time. Furthermore, the techniques are extended to obtain the first succinct representation of the index of Shibuya for StructuralStructural MatchingMatching [SWAT, 2000], and of Idury and Schäffer for ParameterizedParameterized DictionaryDictionary MatchingMatching [CPM, 1994].

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.